Added ReadingTime indication to give the reader an idea of the read time in minutes
This commit is contained in:
parent
7d484b27a2
commit
32ea5dc5cf
2 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,8 @@
|
|||
{{ with .Params.Author }}<span class="post-author">— {{ $.Site.Params.WrittenBy | default "Written by" }} {{ . }}</span>{{ end }}
|
||||
</div>
|
||||
|
||||
<span class="post-read-time">- ⏰ {{ .ReadingTime }} min read</span>
|
||||
|
||||
{{ if .Params.tags }}
|
||||
<span class="post-tags">
|
||||
{{ range .Params.tags }}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
</span>
|
||||
{{ end }}
|
||||
{{ with .Params.Author }}<span class="post-author">— {{ $.Site.Params.WrittenBy | default "Written by" }} {{ . }}</span>{{ end }}
|
||||
<span class="post-read-time">- ⏰ {{ .ReadingTime }} min read</span>
|
||||
</div>
|
||||
|
||||
{{ if .Params.tags }}
|
||||
|
|
Loading…
Reference in a new issue