{{ $dateFormat := default "02.01.2006, 15:04 Uhr" (index .Site.Params "datefmt") }}
{{ $taxo := "categories" }}
{{ with .Param $taxo }} in
{{ range $index, $categories := . }}
{{- if gt $index 0 }}, {{ end -}}
{{ with $.Site.GetPage ((printf "/%s/%s" $taxo ($categories))) -}}
{{ $categories }}
{{- end -}}
{{- end -}}
{{ end }}
{{- .Title | markdownify -}}
{{/* Display the date if set */}}
{{- if not .Date.IsZero -}}
{{ $taxo := "tags" }} {{ with .Param $taxo }} Tag{{ if gt (len .) 1 }}s{{ end }}: {{ range $index, $tags := . }} {{- if gt $index 0 }}, {{ end -}} {{ with $.Site.GetPage ((printf "/%s/%s" $taxo ($tags))) -}} {{ $tags }} {{- end -}} {{- end -}} {{ end }}