From ca98192cfb0cf98df0c860201b4f1c23dfa8868b Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Wed, 5 Jan 2022 17:22:53 -0600 Subject: [PATCH] asside: remove author and related logic, replace date with lastmod, tweak formatting --- layouts/partials/asside.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/layouts/partials/asside.html b/layouts/partials/asside.html index 58f24e7..d394ef9 100644 --- a/layouts/partials/asside.html +++ b/layouts/partials/asside.html @@ -1,9 +1,6 @@ {{define "aside" }} {{ if .Params.description }}

{{ .Params.description }}

{{ end }} - {{ if or (.Params.author) (.Params.date) }} -

- {{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }} - {{ if .Date }}{{ .Date.Format "2006-01-02" }}{{ end }} -

- {{ end }} +

+ {{ if .Lastmod }}Last Modified: {{ .Lastmod.Format "2006-01-02" }}{{ end }} +

{{ end }}