Re-order post

This commit is contained in:
2023-02-26 11:14:53 +11:00
parent 8ddb67d8c6
commit 9986d70bf9

View File

@@ -5,6 +5,9 @@ article class="h-entry"
= post.display_title
article class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-img:rounded"
div class="e-content"
== post.content
- if post.photos?
- post.photos.each do |photo|
figure
@@ -17,8 +20,6 @@ article class="h-entry"
video loop=true muted=true controls=true
source type="video/mp4" src="#{video["value"]}"
figcaption= video["alt"]
div class="e-content"
== post.content
- if post.location
img class="shadow-solid shadow-pink-100 dark:shadow-pink-200 rounded mb-4" src=post.large_map