summaryrefslogtreecommitdiff
path: root/themes/PaperMod/layouts/partials/post_meta.html
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-10-08 20:15:46 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-10-08 20:15:46 +0200
commit7114391230df7a6dbca73b4994ede889a6dd39e8 (patch)
tree109f877b96beb3e155dbee5c1f01812c07d38c7b /themes/PaperMod/layouts/partials/post_meta.html
parent951f894d560d33f8a994c183e71130cc3e47fefe (diff)
sync theme
Diffstat (limited to 'themes/PaperMod/layouts/partials/post_meta.html')
-rw-r--r--themes/PaperMod/layouts/partials/post_meta.html2
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 . "&nbsp;ยท&nbsp;" -}}