💄 Adjust metadata output

This commit is contained in:
Carlos Beleña
2022-01-23 20:28:50 +01:00
parent 850fc65b1b
commit c9bb4b0b63
3 changed files with 10 additions and 10 deletions
+2 -9
View File
@@ -1,11 +1,4 @@
<time datetime="{{ .Date }}">
{{- .Date.Format (.Site.Params.article.dateFormat | default "2 January 2006") -}}
<time datetime="{{ . }}">
{{- . | time.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 }}
{{- /* Trim EOF */ -}}