2018-11-15 19:21:34 +00:00
|
|
|
{{- if not .Date.IsZero }}
|
2019-11-21 15:35:22 +00:00
|
|
|
<time class="post__meta-published meta-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
|
|
|
|
{{- .Date.Format (.Site.Params.dateFormat | default "January 02, 2006") -}}
|
|
|
|
</time>
|
2018-11-15 19:21:34 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- if ne .Date .Lastmod }}
|
2019-11-21 15:35:22 +00:00
|
|
|
<time class="post__meta-lastmod meta-lastmod" datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}">
|
|
|
|
{{- T "meta_lastmod" }}: {{ .Lastmod.Format (.Site.Params.dateFormat | default "January 02, 2006") -}}
|
|
|
|
</time>
|
2018-11-15 19:21:34 +00:00
|
|
|
{{- end }}
|