mirror of https://github.com/jpanther/congo.git
🔧 Set showWordCount default to false
parent
27ccae6f7d
commit
260030d98f
|
@ -29,8 +29,8 @@ colorScheme = "congo"
|
||||||
showHeadingAnchors = true
|
showHeadingAnchors = true
|
||||||
showPagination = true
|
showPagination = true
|
||||||
showReadingTime = true
|
showReadingTime = true
|
||||||
|
showWordCount = false
|
||||||
# sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"]
|
# sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"]
|
||||||
showWordCount = true
|
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
showBreadcrumbs = false
|
showBreadcrumbs = false
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
{{ $meta.Add "partials" (slice (partial "meta/date.html" .)) }}
|
{{ $meta.Add "partials" (slice (partial "meta/date.html" .)) }}
|
||||||
{{ end }}
|
{{ 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" .)) }}
|
{{ $meta.Add "partials" (slice (partial "meta/word-count.html" .)) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue