mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-18 00:54:24 -04:00
refactor
This commit is contained in:
parent
fd143fede2
commit
097eb6baf2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue