From 0cacd5acc5bc7164f600056bf1ef0c44aaa815b2 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Mon, 16 May 2022 17:23:55 -0400 Subject: [PATCH] Added more microformats2 metadata to posts --- layouts/blog/single.html | 6 +++++- layouts/partials/tags/page.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/layouts/blog/single.html b/layouts/blog/single.html index b14c38d..acf6688 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -5,8 +5,12 @@ {{ partial "header.html" . }}
-

{{ .Title }}

+

{{ .Title }}

+ {{ .Scratch.Set "beforeDateString" "Published on "}} {{ partial "date.html" . }} {{ partial "reading_time.html" . }} diff --git a/layouts/partials/tags/page.html b/layouts/partials/tags/page.html index 994a684..d7929ea 100644 --- a/layouts/partials/tags/page.html +++ b/layouts/partials/tags/page.html @@ -4,7 +4,7 @@ {{ range .Param "tags" }} {{ $name := . }} {{ with $.Site.GetPage (printf "/tags/%s" ($name | urlize)) }} -
  • {{ $name }}
  • +
  • {{ $name }}
  • {{ end }} {{ end }}