mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-23 02:51:39 +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 }}
|