{{ $articleType := .Params.type | default "life" }} {{ $typeConfig := .Site.Params.articleTypes }} {{ $typeData := index $typeConfig $articleType }} {{ $hasType := .Params.type }}
{{ if and $typeData $hasType }}
{{ end }} {{ if and $typeData $hasType }}
{{ end }}

{{ .Title }}

{{ if .PublishDate }}
{{ end }} {{ if .Lastmod }} {{ $lastmodDate := .Lastmod.Format "2006-01-02" }} {{ $pubDate := .PublishDate.Format "2006-01-02" }} {{ if ne $lastmodDate $pubDate }}
{{ end }} {{ end }} {{ if .Site.Params.readingTime }}
{{ .ReadingTime }} {{ i18n "min" }} {{ i18n "readingTime" }}
{{ end }} {{ if and $typeData $hasType }} {{ i18n $articleType }} {{ end }}