mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01: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