{{ define "main" }}

{{ .Title }}

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