From 8978136c39083b202295418399e9d009884d82a1 Mon Sep 17 00:00:00 2001 From: Alexander Avery Date: Wed, 28 May 2025 14:24:20 -0400 Subject: [PATCH] include author and Posted prefix for single.html --- layouts/_default/single.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a864ea1..cf46a6d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,7 +3,13 @@ {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} {{ $dateHuman := .Date | time.Format "Mon | Jan 2, 2006" }} - + + {{ with .Params.authors }} + {{ $author := (index . 0) }} +

Author: {{ $author }}

+ {{ end }} + +

Posted:

{{ .Content }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}