From 0564f0af044902a4039175a6927e989d3dbf5d02 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Thu, 7 Nov 2024 09:35:11 +1100 Subject: [PATCH] Fix posts rendering --- slices/main/templates/posts/show.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slices/main/templates/posts/show.html.slim b/slices/main/templates/posts/show.html.slim index cbb532a..ffc3d37 100644 --- a/slices/main/templates/posts/show.html.slim +++ b/slices/main/templates/posts/show.html.slim @@ -39,7 +39,7 @@ article class="h-entry" - else 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 prose-video:rounded" div class="e-content prose-code:bg-pink-100 prose-code:text-pink-900" - == post.rendered_content + == post.content - if post.photos? - post.photos.each_with_index do |photo, idx|