Add site-wide option to hide reading time

Resolves #107
This commit is contained in:
Michael Noronha
2018-10-10 13:56:21 -05:00
parent 0b697dc407
commit 2060eb739d

View File

@@ -18,9 +18,11 @@
{{ if not .Params.noauthor }}
{{ if .Params.author }}
<div class="author middot" title="{{ .Params.Author }}">{{ .Params.author }}</div>
{{end}}
{{end}}
{{ end }}
{{ end }}
{{ if not .Site.Params.noreadingtime }}
<div class="reading-time middot">{{ .ReadingTime }} minute read</div>
{{ end }}
<div class="tags">
<ul>
{{ range .Params.tags }}