Change "showAuthor" to "hideAuthor", since show is the default behavior
This commit is contained in:
parent
3f32f6fde6
commit
20609b681b
@ -28,6 +28,7 @@ pygmentsCodefencesGuessSyntax = true
|
||||
socialShare = true
|
||||
delayDisqus = true
|
||||
showRelatedPosts = true
|
||||
# hideAuthor = true
|
||||
# gcse = "012345678901234567890:abcdefghijk" # Get your code from google.com/cse. Make sure to go to "Look and Feel" and change Layout to "Full Width" and Theme to "Classic"
|
||||
|
||||
#[[Params.bigimg]]
|
||||
|
@ -11,7 +11,7 @@
|
||||
{{ if .Site.Params.wordCount }}
|
||||
| <i class="fas fa-book"></i> {{ .WordCount }} {{ i18n "words" }}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.showAuthor }}
|
||||
{{ if not .Site.Params.hideAuthor }}
|
||||
{{ if .Params.author }}
|
||||
| <i class="fas fa-user"></i> {{ .Params.author | safeHTML }}
|
||||
{{ else }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user