{{ $image := partialCached "helper/image" (dict "Context" . "Type" "article") .RelPermalink "article" }} {{- $context := . -}} {{- $categories := .Params.categories -}}
{{ if $categories }}
{{ range $category := $categories }} {{ $term := $.Site.GetPage (printf "/categories/%s" $category) }} {{ if and $image.exists $image.resource }} {{- $imageRaw := $image.resource | resources.Fingerprint "md5" -}} {{- $20x := $imageRaw.Fill "20x20 smart" -}} {{ $term.Title | humanize }} {{ else }} {{ $term.Title | humanize }} {{ end }} {{ end }}
{{ end }}

{{- .Title -}}

{{ with .Params.description }}

{{ . }}

{{ end }} {{- if not .Date.IsZero -}} {{- end -}}