site/layouts/partials/lastmod.html

6 lines
173 B
HTML

{{ if lt .Date .Lastmod -}}
 | 
Last updated on
<time itemprop="dateModified" class="dt-updated">{{ .Lastmod.Format "2006-01-02" }}</time>
{{- end -}}