1
Fork 0

Add reading time

This commit is contained in:
Jake Howard 2019-04-28 15:25:26 +01:00
parent cb7162ed15
commit b863371eb9
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,5 +1,9 @@
{{ if not .Date.IsZero }}
<span class="pr-1" title='{{ .Date.Format "January 2 2006" }}'>{{ .Date.Format "2006-01-02" }}</span>
<span class="pr-2" title='{{ .Date.Format "January 2 2006" }}'>{{ .Date.Format "2006-01-02" }}</span>
{{ end }}
{{ if .ReadingTime }}
<span class="pr-2"><i class="far fa-clock pr-1"></i>{{ .ReadingTime }} minutes</span>
{{ end }}
{{ if .Params.tags }}