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