mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
add DisableReadTime for articles
This commit is contained in:
parent
414a9915e5
commit
4e6930061d
@ -34,7 +34,7 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.article.readingTime }}
|
||||
{{ if and (not (.Params.DisableReadTime | default false)) (.Site.Params.article.readingTime)}}
|
||||
<div>
|
||||
{{ partial "helper/icon" "clock" }}
|
||||
<time class="article-time--reading">
|
||||
|
Loading…
Reference in New Issue
Block a user