{{- $lastmodMachine := .Lastmod | time.Format "2006-01-02T15:04:05-07:00" -}}
{{- $lastmodHuman := .Lastmod | time.Format (or site.Params.dateFormat "2006-01-02") -}}
<time class="lastmod-date" datetime="{{ $lastmodMachine }}">{{ i18n "lastmodWrapper" (dict "lastmod" $lastmodHuman) }}</time>