diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 9c30834..8bc0e50 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -12,7 +12,7 @@ {{- $scratch.Add "meta" (slice (i18n "words" .WordCount | default (printf "%d words" .WordCount))) }} {{- end }} -{{- if (.Param "ShowAuthor") -}} +{{- if not (.Param "hideAuthor") -}} {{- with (partial "author.html" .) }} {{- $scratch.Add "meta" (slice .) }} {{- end }}