{{ $lastmodstr := default (i18n "dateFormat") .Site.Params.dateformat | .Lastmod.Format }}
{{ $datestr := default (i18n "dateFormat") .Site.Params.dateformat | .Date.Format }}
{{ $datestr | i18n "postedOnDate"}}
{{ if .Site.Params.readingTime }}
| {{ i18n "readingTime"}}{{ .ReadingTime }} {{ i18n "readTime" }}
{{ end }}
{{ if .Site.Params.wordCount }}
| {{ .WordCount }} {{ i18n "words" }}
{{ end }}
{{ if .Params.author }}
| {{ .Params.author | safeHTML }}
{{ else }}
| {{ .Site.Author.name | safeHTML }}
{{ end }}
{{- if .Site.Params.staticman -}}
|
{{ $slug := replace .RelPermalink "/" "" }}
{{ if .Site.Data.comments }}
{{ $comments := index $.Site.Data.comments $slug }}
{{ if $comments }}
{{ if gt (len $comments) 1 }}
{{ len $comments }} {{ i18n "moreComment" }}
{{ else }}
{{ len $comments }} {{ i18n "oneComment" }}
{{ end }}
{{ else }}
0 {{ i18n "oneComment" }}
{{ end }}
{{ end }}
{{ end }}
{{ if .IsTranslated -}}
{{- $sortedTranslations := sort .Translations "Site.Language.Weight" -}}
{{- $links := apply $sortedTranslations "partial" "translation_link.html" "." -}}
{{- $cleanLinks := apply $links "chomp" "." -}}
{{- $linksOutput := delimit $cleanLinks (i18n "translationsSeparator") -}}
• {{ i18n "translationsLabel" }}{{ $linksOutput }}
{{- end }}