{{- define "main" -}}
{{ partial "page_header" . }}
{{ .Content }}
{{ partial "page_edit" . }} {{ partial "tags" . }} {{ if ne .Type "page" }} {{ partial "page_author" . }} {{ $related := site.RegularPages.Related . | first 5 }} {{ with $related }}

{{ i18n "related" }}

{{ end }} {{ end }} {{ if site.Params.section_pager }}
{{ partial "section_pager" . }}
{{ end }} {{ partial "comments" . }}
{{- end -}}