Add wordcount as popup to reading time
This commit is contained in:
parent
67240142d6
commit
cf9c944422
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
{{ if not .Parent.IsHome }}
|
||||
{{ if gt .ReadingTime 2 }}
|
||||
<span class="pr-2"><i class="far fa-clock pr-1"></i>{{ .ReadingTime }} minutes</span>
|
||||
<span class="pr-2" title='{{ .WordCount }} words'><i class="far fa-clock pr-1"></i>{{ .ReadingTime }} minutes</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue