This commit is contained in:
Aditya Telange 2020-09-22 12:41:25 +05:30
parent fd143fede2
commit 097eb6baf2
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -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>