From 0dc7ee25bfe8b97f652e3bc29eb6bf974ad8534e Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Mon, 13 Feb 2023 09:18:15 +1100 Subject: [PATCH] Add some microformat details --- app/templates/layouts/app.html.slim | 2 +- app/templates/posts/show.html.slim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/layouts/app.html.slim b/app/templates/layouts/app.html.slim index 6f1edba..cefbb03 100644 --- a/app/templates/layouts/app.html.slim +++ b/app/templates/layouts/app.html.slim @@ -34,7 +34,7 @@ html div class="flex-none mx-auto md:flex-auto md:mx-0" div class="h-card flex items-center" img class="u-photo w-6 h6 md:w-10 md:h-10 rounded-full mr-1.5" src="/assets/memoji.png" - a href="/" + a href="/" class="u-url u-uid" h1 class="p-bane uppercase text-sm md:text-sm text-gray-400 dark:text-gray-400" = Hanami.app.settings.site_name nav class="space-x-1 text-sm md:text-sm uppercase md:block" a class="p-1 rounded text-gray-400 hover:bg-red-100 hover:text-red-400 dark:hover:bg-red-200 #{link_active?('about') ? 'text-red-600 dark:text-red-400' : ''}" href="/about" About diff --git a/app/templates/posts/show.html.slim b/app/templates/posts/show.html.slim index 025ffd6..650291e 100644 --- a/app/templates/posts/show.html.slim +++ b/app/templates/posts/show.html.slim @@ -1,7 +1,7 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200" h1 = post.display_title -article class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-img:rounded" +article class="h-entry mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-img:rounded" - if post.photos? - post.photos.each do |photo| figure