mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04:00
6 lines
265 B
HTML
6 lines
265 B
HTML
{{ $date := .Date.Format "02.01.2006" }}
|
|
{{ $lastmod := .Lastmod.Format "02.01.2006" }}
|
|
|
|
{{- if ne $lastmod $date -}}
|
|
<span title={{ .Lastmod }}><i>Last updated on {{ .Lastmod | time.Format (default "January 2, 2006" site.Params.DateFormat) }}</i></span>
|
|
{{- end }} |