{{ $is_list := .is_list }} {{ $ := .content }}
{{ if ne $.Params.Lastmod $.Params.Date }} {{ i18n "last_updated" }} {{ end }} {{ if ne $.Site.Params.reading_time false }} {{ $.ReadingTime }} {{ i18n "minute_read" }} {{ end }} {{ $comments_enabled := and $.Site.DisqusShortname (not (or $.Site.Params.disable_comments $.Params.disable_comments)) }} {{ if and $comments_enabled ($.Site.Params.comment_count | default true) }} {{ end}} {{ if isset $.Params "categories" }} {{ $categoriesLen := len $.Params.categories }} {{ if gt $categoriesLen 0 }} {{ range $k, $v := $.Params.categories }} {{ . }}{{ if lt $k (sub $categoriesLen 1) }}, {{ end }} {{ end }} {{ end }} {{ end }} {{ if ne $is_list 1 }} {{ partial "share.html" $ }} {{ end }}