Files
adamantium/app/templates/site/home.html.slim
2023-01-27 22:55:09 +11:00

15 lines
563 B
Plaintext

div class="mb-12 max-w-prose mx-auto text-gray-800 dark:text-gray-200"
== home_content
div class="mb-8 max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"
div class="mb-4 flex max-w-prose mx-auto"
h2 class="text-xl text-gray-600 dark:text-gray-200" Recent
a class="text-right flex-1 text-blue-400" href="/posts" See all →
div class="mb-12 max-w-prose mx-auto"
- posts.each do |post|
== render :post, post: post
div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"