From 220020a35180426e6717481899b752796e9c6f4b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 26 Jun 2024 13:12:34 +0200 Subject: improve post microformats --- templates/post.templ | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/post.templ b/templates/post.templ index 5b09d4b..7b82584 100644 --- a/templates/post.templ +++ b/templates/post.templ @@ -26,12 +26,17 @@ templ PostPage(config config.Config, post content.Post) { "class": "p-author h-card", "rel": "author", }, + BodyAttrs: templ.Attributes{ + "class": "h-entry", + }, Path: post.URL, }) { -
+

{ post.Title }

- @postDate(post.Date) + + @postDate(post.Date) +

@Unsafe(post.Content) -- cgit 1.4.1