🔧 Set showWordCount default to false

This commit is contained in:
James Panther
2021-12-18 09:06:29 +11:00
parent 27ccae6f7d
commit 260030d98f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -29,8 +29,8 @@ colorScheme = "congo"
showHeadingAnchors = true
showPagination = true
showReadingTime = true
showWordCount = false
# sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"]
showWordCount = true
[list]
showBreadcrumbs = false
+1 -1
View File
@@ -16,7 +16,7 @@
{{ $meta.Add "partials" (slice (partial "meta/date.html" .)) }}
{{ end }}
{{ if and (.Params.showWordCount | default (.Site.Params.article.showWordCount | default true)) (ne .WordCount 0) }}
{{ if and (.Params.showWordCount | default (.Site.Params.article.showWordCount | default false)) (ne .WordCount 0) }}
{{ $meta.Add "partials" (slice (partial "meta/word-count.html" .)) }}
{{ end }}