rename the variable to hideAuthor

This commit is contained in:
rook1e 2023-07-24 13:46:20 +08:00
parent ea64d8f03d
commit 754bef67a1
No known key found for this signature in database
GPG Key ID: C63289D731719BC0

View File

@ -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 }}