{{ define "main" }}

{{ .Title }}

{{ if ne .Type "page" }}
{{ if .Date }} {{ end }} {{ if or .Params.Author site.Author.name }} · {{ .Params.Author | default site.Author.name }} {{ end }}
{{ end }}
{{ .Content }}
{{ if .Params.tags }} {{ end }} {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} {{ if and (gt (len $pages) 1) (in $pages . ) }} {{ end }} {{ if and site.DisqusShortname (not (eq .Params.comments false)) }}
{{ end }} {{ if and site.Params.graphCommentId (not (eq .Params.comments false)) }}
{{ end }}
{{ end }}