diff options
author | Christoph Cullmann <cullmann@kde.org> | 2023-10-08 20:15:46 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2023-10-08 20:15:46 +0200 |
commit | 7114391230df7a6dbca73b4994ede889a6dd39e8 (patch) | |
tree | 109f877b96beb3e155dbee5c1f01812c07d38c7b /themes/PaperMod/layouts/partials/post_meta.html | |
parent | 951f894d560d33f8a994c183e71130cc3e47fefe (diff) |
sync theme
Diffstat (limited to 'themes/PaperMod/layouts/partials/post_meta.html')
-rw-r--r-- | themes/PaperMod/layouts/partials/post_meta.html | 2 |
1 files changed, 2 insertions, 0 deletions
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 . " ยท " -}} |