From cf6c17546bc40d41c169279ad7b8f60bf0888ab3 Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Fri, 13 Oct 2023 21:26:24 -0400 Subject: new templates, and refinements --- layouts/post/single.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'layouts/post/single.html') diff --git a/layouts/post/single.html b/layouts/post/single.html index 25bfc23..2c4c23e 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -2,10 +2,19 @@ {{ if not .Params.dontDisclaim }} {{ partial "disclaimer" . }} {{ end }} + {{ with .GetTerms "categories" }} + {{ (index . 0).RelPermalink }} + {{ end }}

{{ .Title }}

{{ .Date | time.Format ":date_full" }}
-
{{ .Lastmod | time.Format ":date_full" }}
+ {{ with .Params.categories }} +
+ {{ range $value := . }} + {{ $value }} + {{ end }} +
+ {{ end }}
{{- .Content -}} -- cgit v1.1