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
|
socialShare = true
|
||||||
delayDisqus = true
|
delayDisqus = true
|
||||||
showRelatedPosts = 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"
|
# 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]]
|
#[[Params.bigimg]]
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
{{ if .Site.Params.wordCount }}
|
{{ if .Site.Params.wordCount }}
|
||||||
| <i class="fas fa-book"></i> {{ .WordCount }} {{ i18n "words" }}
|
| <i class="fas fa-book"></i> {{ .WordCount }} {{ i18n "words" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Site.Params.showAuthor }}
|
{{ if not .Site.Params.hideAuthor }}
|
||||||
{{ if .Params.author }}
|
{{ if .Params.author }}
|
||||||
| <i class="fas fa-user"></i> {{ .Params.author | safeHTML }}
|
| <i class="fas fa-user"></i> {{ .Params.author | safeHTML }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user