Don't enable reading time and word count by default

This commit is contained in:
2021-10-09 18:44:36 -05:00
parent 3242d892b5
commit 98587c94ae
2 changed files with 10 additions and 5 deletions

View File

@ -17,10 +17,19 @@
{{ end }}
</span>
{{ if .Site.Params.wordcount }}
<span class="wordcount">
{{ partial "icon.html" "type" }}
{{ .WordCount }} words
</span>
{{ end }}
{{ if .Site.Params.readingtime }}
<span class="readingtime">
{{ partial "icon.html" "clock" }}
{{ .ReadingTime }} {{ if gt .ReadingTime 1 }} mins {{ else }} min {{ end }}
</span>
{{ end }}
<div class="tags">
{{ range (.GetTerms "tags") }}