{{- $dateFormat := site.Params.dateFormat -}} {{- if not $dateFormat -}}{{- $dateFormat = "2006-01-02" -}}{{- end -}} {{- $lastmodFormat := "" -}} {{- $lastmod := .Lastmod -}} {{- if $lastmod -}} {{- $lastmodFormat = $lastmod.Format $dateFormat -}} {{- end -}} {{- if .Date -}} {{- $dateFormat := .Date.Format $dateFormat -}}

{{- $dateFormat -}} {{- if and ($lastmod.After .Date) (ne $lastmodFormat $dateFormat) -}} {{- printf (T "edited") $lastmodFormat -}} {{- end -}} {{- if or (eq .Params.readingTime true) (and (not (eq .Params.readingTime false)) (eq site.Params.readingTime true)) -}} {{ T "readingTime" .ReadingTime }} {{- end -}} {{- if .IsTranslated -}} {{- range .Translations -}} {{- .Lang -}} {{- end -}} {{- end -}}

{{- end -}}