rename the variable to hideAuthor
This commit is contained in:
parent
ea64d8f03d
commit
754bef67a1
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user