1
Fork 0

Add wordcount as popup to reading time

This commit is contained in:
Jake Howard 2020-08-29 15:46:37 +01:00
parent 67240142d6
commit cf9c944422
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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 }}