{{ $t | markdownify }}
{{- partial "post-meta" . }} {{- with .Param "lastmod" -}} {{- $ageDays = div (sub now.Unix .Unix) 86400 -}} {{- end -}} {{- if and (gt $ageDays 365) (not $p.timeless) -}}{{- T "old_content_label" -}}
{{- T "old_content_note" -}}
{{- partial "image" (dict "file" $p.featureImage "alt" $p.featureImageAlt "cap" $p.featureImageCap "type" "featured" "Page" $.Page) }}
{{- end -}}
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) ($p.toc) }}
{{ .TableOfContents }}
{{- .Content }}
{{- $showRelatedInArticle := true }}
{{- if eq $s.showRelatedInArticle false }}
{{- $showRelatedInArticle = false }}
{{- else if eq $p.showRelatedInArticle false }}
{{- $showRelatedInArticle = false }}
{{- end }}
{{- if ne $showRelatedInArticle false }}
{{- partial "related" . }}
{{- end }}
{{- $showComments := true }}
{{- if eq $s.comments false }}
{{- $showComments = false }}
{{- else if eq $p.comments false }}
{{- $showComments = false }}
{{- end }}
{{- if ne $showComments false }}
{{- partial "comments" . }}
{{- end }}
{{- partial "i18nlist" . }}