mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +01:00
layouts: single: update post meta
This commit is contained in:
parent
9c861cb77f
commit
6813112e25
@ -8,9 +8,9 @@
|
||||
</h1>
|
||||
{{ if .Params.hideMeta }}{{ else }}
|
||||
<div class="post-meta">
|
||||
{{- if or .Params.author .Site.Params.author }}
|
||||
{{- .Params.author | default .Site.Params.author }} · {{ end }}
|
||||
{{- .Date.Format "January 2, 2006" -}}
|
||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||
{{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
|
||||
{{ if $.Site.Params.ShowReadingTime }} . {{ .ReadingTime }}{{ i18n "read_time" | default "min read" }}{{ end }}
|
||||
</div>
|
||||
{{end}}
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user