mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-24 19:41:37 +01: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 }}
|