diff --git a/app/templates/shared/_status.html.slim b/app/templates/shared/_status.html.slim index 2786d8c..d70d76f 100644 --- a/app/templates/shared/_status.html.slim +++ b/app/templates/shared/_status.html.slim @@ -5,6 +5,7 @@ div class="mb-8 h-entry border border-gray-200 m-2 p-4 bg-gray-50 hover:bg-gray- div class="grid gap-4 grid-flow-row grid-cols-4 grid-rows-1" -post.photos.each do |photo| img class="w-32 h-32 object-cover rounded" src=photo["value"] + == render "shared/tags", tags: post.tags div class="mb-8" p class="text-sm text-blue-400 dark:text-indigo-400" diff --git a/app/templates/shared/_tags.html.slim b/app/templates/shared/_tags.html.slim index dce13dd..7305e7f 100644 --- a/app/templates/shared/_tags.html.slim +++ b/app/templates/shared/_tags.html.slim @@ -1,7 +1,7 @@ - if tags.count > 0 p class="mb-2" = "Tagged" - div class="mb-2 grid grid-flow-col grid-rows-2 justify-end gap-x-1.5" + div class="mb-2 justify-end gap-x-1.5" - tags.each do |post_tag| span a class="p-category rounded mr-1 u-url text-pink-400 hover:text-pink-600 dark:text-pink-400 dark:hover:text-pink-100 text-gray-600" href="/tagged/#{post_tag.slug}"