{{- $title := partial "PrepareHTML" .Title -}} {{ $heading_tag.open }} {{ $title }} {{ $heading_tag.close }} {{ if $options.categories }} {{ partial "commons/categories" ( dict "context" . "kind" "post" )}} {{ end }} {{ if and $options.summary (partial "GetTextFromHTML" .Params.summary) }}

{{ partial "GetTruncateContent" ( dict "text" .Params.summary "length" site.Params.posts.index.truncate_description )}}

{{- end -}} {{ if and .Params.contents_reading_time $options.reading_time }} {{ i18n "posts.reading_time" }} : {{ partial "GetTextFromHTML" .Params.contents_reading_time.text }} {{ end }}