From 9986d70bf97e89029a008c8aa0737b01241d887d Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sun, 26 Feb 2023 11:14:53 +1100 Subject: [PATCH] Re-order post --- app/templates/posts/show.html.slim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/templates/posts/show.html.slim b/app/templates/posts/show.html.slim index c7f9df1..86df9cc 100644 --- a/app/templates/posts/show.html.slim +++ b/app/templates/posts/show.html.slim @@ -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