From 7114391230df7a6dbca73b4994ede889a6dd39e8 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 8 Oct 2023 20:15:46 +0200 Subject: sync theme --- themes/PaperMod/layouts/partials/post_meta.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'themes/PaperMod/layouts/partials/post_meta.html') diff --git a/themes/PaperMod/layouts/partials/post_meta.html b/themes/PaperMod/layouts/partials/post_meta.html index 15b8b1b..8bc0e50 100644 --- a/themes/PaperMod/layouts/partials/post_meta.html +++ b/themes/PaperMod/layouts/partials/post_meta.html @@ -12,9 +12,11 @@ {{- $scratch.Add "meta" (slice (i18n "words" .WordCount | default (printf "%d words" .WordCount))) }} {{- end }} +{{- if not (.Param "hideAuthor") -}} {{- with (partial "author.html" .) }} {{- $scratch.Add "meta" (slice .) }} {{- end }} +{{- end }} {{- with ($scratch.Get "meta") }} {{- delimit . " ยท " -}} -- cgit v1.2.3