Files
adamantium/app/templates/shared/_post.html.slim
2023-02-25 12:51:19 +11:00

14 lines
623 B
Plaintext

div class="mb-8 h-entry"
h3 class="text-xl font-semibold text-blue-600 mb-2"
a class="u-url border-b-2 border-transparent hover:border-blue-600 hover:border-b-2" href="/post/#{post.slug}"
= post.display_title
div class="e-content p-name text-base prose prose-ul:list-none prose-ul:pl-0 prose-li:pl-0 text-gray-800 dark:text-gray-200 prose-a:dark:text-gray-100"
== post.excerpt
-if post.location
img class="rounded" src=post.small_map
== render :tags, tags: post.tags
p class="text-sm text-blue-400"
time class="dt-published" datetime=post.published_at
= post.display_published_at