mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-13 03:45:08 +01:00
Added ReadingTime indication to give the reader an idea of the read time in minutes
This commit is contained in:
parent
7d484b27a2
commit
32ea5dc5cf
@ -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 New Issue
Block a user