add .Site to readingTime
This commit is contained in:
parent
cbceabf022
commit
bcd9c09cd5
@ -5,7 +5,7 @@
|
|||||||
{{ if ne $datestr $lastmodstr }}
|
{{ if ne $datestr $lastmodstr }}
|
||||||
{{ $lastmodstr | i18n "lastModified" }}
|
{{ $lastmodstr | i18n "lastModified" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Params.readingTime }}
|
{{ if .Site.Params.readingTime }}
|
||||||
|
|
|
|
||||||
<i class="fa fa-clock-o"></i>{{ i18n "readingTime"}} {{ .ReadingTime }} {{ i18n "readTime" }} ({{ .WordCount }} {{ i18n "words" }})
|
<i class="fa fa-clock-o"></i>{{ i18n "readingTime"}} {{ .ReadingTime }} {{ i18n "readTime" }} ({{ .WordCount }} {{ i18n "words" }})
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user