mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-24 05:55:53 -05:00
refactor
This commit is contained in:
parent
fd143fede2
commit
097eb6baf2
@ -9,10 +9,10 @@
|
||||
{{ if .Params.hideMeta }}{{ else }}
|
||||
<div class="post-meta">
|
||||
<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 }} .
|
||||
{{ $default_txt := print .ReadingTime " " "min" }}
|
||||
{{ i18n "read_time" .ReadingTime | default $default_txt }}{{ end }}
|
||||
{{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
|
||||
</div>
|
||||
{{end}}
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user