From 10493bca81a32d0184afa332b3dba3854b6031a8 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Mon, 13 Feb 2023 09:47:44 +1100 Subject: [PATCH] h-entry home page --- app/templates/shared/_post.html.slim | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/templates/shared/_post.html.slim b/app/templates/shared/_post.html.slim index 88d7f85..a9f39d5 100644 --- a/app/templates/shared/_post.html.slim +++ b/app/templates/shared/_post.html.slim @@ -1,10 +1,11 @@ -div class="mb-8" +div class="mb-8 h-entry" h3 class="text-xl font-bold text-blue-600 hover:underline" - a href="/post/#{post.slug}" + a class="u-url" href="/post/#{post.slug}" = post.display_title - div class="text-base text-gray-800 dark:text-gray-200" + div class="e-content p-name text-base text-gray-800 dark:text-gray-200" == post.excerpt == render :tags, tags: post.tags p class="text-sm text-blue-400" - = post.display_published_at + time class="dt-published" datetime=post.published_at + = post.display_published_at