From 23d03d2be1251a033476f1c9339c7b8d94d06694 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sun, 26 Feb 2023 13:50:50 +1100 Subject: [PATCH] Add u-url to permalink --- app/templates/shared/_post.html.slim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/shared/_post.html.slim b/app/templates/shared/_post.html.slim index a05c5ec..0d33acf 100644 --- a/app/templates/shared/_post.html.slim +++ b/app/templates/shared/_post.html.slim @@ -1,12 +1,12 @@ 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}" + a class="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 == render :tags, tags: post.tags p class="text-sm text-blue-400" - a href="#{post.permalink}" + a class="u-url" href="#{post.permalink}" time class="dt-published" datetime=post.machine_published_at = post.display_published_at