From 8503a846094efb4ee33f551b39dec1df2867d172 Mon Sep 17 00:00:00 2001 From: waldo1001 Date: Sun, 27 Feb 2022 16:37:58 +0100 Subject: [PATCH] Add AuthorName - just because we can ;-) --- layouts/partials/page-meta-lastmod.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 layouts/partials/page-meta-lastmod.html diff --git a/layouts/partials/page-meta-lastmod.html b/layouts/partials/page-meta-lastmod.html new file mode 100644 index 00000000..28b7aead --- /dev/null +++ b/layouts/partials/page-meta-lastmod.html @@ -0,0 +1,11 @@ +{{ if and (.GitInfo) (.Site.Params.github_repo) -}} +
+ {{ T "post_last_mod" }} {{ .Lastmod.Format .Site.Params.time_format_default -}} + {{ with .GitInfo }}: {{/* Trim WS */ -}} + + {{- .Subject }} ({{ .AbbreviatedHash }}) {{- /* Trim WS */ -}} + + by {{ .AuthorName }} + {{- end }} +
+{{ end -}} \ No newline at end of file