{{ define "main" }}
{{ .Title }}
Geschrieben von: {{ range $index, $elements := where (where .Site.RegularPages "Type" "author") "File.BaseFileName" "in" .Params.author }} {{ if ne $index 0 }}, {{ end }} {{ if .Params.simplified }} {{ .Title }} {{ else }} {{ .Title }} {{ end }} {{ end }}
Datum: {{ time.Format "02. Jan 2006" .PublishDate }}
Kategorien: {{ range $index, $elements := .Params.categories }} {{ if ne $index 0 }}, {{ end }} {{ . | title }} {{ end }}
{{ .Content }}
{{ partial "blog-sidebar.html" . }}
{{ end }}