10 lines
371 B
HTML
10 lines
371 B
HTML
{{- $date := .Lastmod -}}
|
|
{{- with .Params.dateFormat -}}
|
|
{{- $date | time.Format . -}}
|
|
{{- else -}}
|
|
{{- with .Site.Params.dateFormat -}}
|
|
[{{- or $.Site.Params.updatedDatePrefix "Updated: " }} {{ $date | time.Format . -}}]
|
|
{{- else -}}
|
|
[{{- or $.Site.Params.updatedDatePrefix "Updated: " }} {{ $date | time.Format "2006-01-02" -}}]
|
|
{{- end -}}
|
|
{{- end -}} |