diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7966e27..7aee23c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -18,7 +18,7 @@ {{- if and (.Param "readingTime") (eq (.Param "readingTime") true) -}} {{ .ReadingTime }} {{ $.Site.Params.minuteReadingTime | default "min read" }} {{- end -}} - {{- if and (.Param "showWordCount") (eq (.Param "showWordCount") true) -}} + {{- if and (.Params.showWordCount | default .Site.Params.showWordCount) (eq (.Param "showWordCount") true) -}} {{ .WordCount }} {{ $.Site.Params.words | default "words" }} {{- end -}}