hugo-theme-wondermod/layouts/partials/post_meta.html
2020-10-22 16:53:24 +05:30

6 lines
384 B
HTML

<time>{{ .Date.Format (default "January 2, 2006" .Site.Params.DateFormat) }}</time>
{{- if $.Site.Params.ShowReadingTime -}}&nbsp;·&nbsp;
{{- $default_txt := print .ReadingTime " " "min" }}
{{- i18n "read_time" .ReadingTime | default $default_txt }}{{ end }}
{{- if or .Params.author .Site.Params.author }}&nbsp;·&nbsp;{{- .Params.author | default .Site.Params.author }}{{ end }}