{{ define "main" }}
{{ .Title }}
{{ i18n "posted_by" }}: {{ .Params.author | title }}
{{ i18n "date" }}: {{ time.Format "02. Jan 2006" .PublishDate }}
{{ i18n "category" }}: {{ range $index, $elements:= .Params.categories }} {{ if ne $index 0 }}, {{ end }} {{ . | title }} {{ end }}
{{ .Content }}
{{ partial "blog-sidebar.html" . }}
{{ end }}