{{- $IsList := .IsList -}} {{- $Page := .Page -}}
{{ if $Page.Params.categories }}
{{ range ($Page.GetTerms "categories") }} {{ $color := partial "helper/color-from-str" .LinkTitle }} {{ $BackgroundColor := default $color.BackgroundColor .Params.style.background }} {{ $TextColor := default $color.TextColor .Params.style.color }} {{ .LinkTitle }} {{ end }}
{{ end }}

{{- $Page.Title -}}

{{ with $Page.Params.description }}

{{ . }}

{{ end }}
{{ $showReadingTime := $Page.Params.readingTime | default ($Page.Site.Params.article.readingTime) }} {{ $showDate := not $Page.Date.IsZero }} {{ $showTime := or $showDate $showReadingTime }} {{ $showTranslations := $Page.IsTranslated }} {{ $showTags := and $Page.Site.Params.Article.List.ShowTags ($Page.GetTerms "tags") $IsList }} {{ if or $showTime $showTranslations $showTags }} {{ end }}