Add reading time
This commit is contained in:
parent
cb7162ed15
commit
b863371eb9
1 changed files with 5 additions and 1 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue