congo/layouts/partials/meta/date.html

12 lines
411 B
HTML
Raw Normal View History

2021-08-21 01:42:40 +00:00
<time datetime="{{ .Date }}">
{{- .Date.Format .Site.Params.article.dateFormat | default "2 January 2006" -}}
</time>
{{ if .Params.showDateUpdated | default (.Site.Params.article.showDateUpdated | default false) }}
&nbsp;(Updated:&nbsp;
<time datetime="{{ .Lastmod }}">
{{- .Lastmod.Format .Site.Params.article.dateFormat | default "2 January 2006" -}}
</time>
)
{{ end }}
2021-08-21 01:42:40 +00:00
{{- /* Trim EOF */ -}}