{{- define "main" -}} {{- if $.Site.Params.enableBreadcrumbs -}} {{- partial "optional/breadcrumbs.html" (dict "context" . "class" "site__breadcrumbs" "childClass" "site__breadcrumb") -}} {{- end -}}

{{ .Title | markdownify }}

{{ if .Params.Date }} {{ .Date.Format "2006-01-02" }} {{ end }} {{ with .Params.Author }} :: {{ . }} {{ end }}
{{ if .Params.tags }} {{ range .Params.tags }} #  {{ end }} {{ end }} {{- with .Params.Cover -}} {{- end -}} {{ if .Params.toc }}
{{ .TableOfContents }}
{{ end }}
{{ .Content }}
{{ if or .NextInSection .PrevInSection }} {{ end }} {{- with .File -}} {{ if ne .Dir "/" }} {{ partial "optional/comments.html" $ }} {{- end -}} {{- end -}} {{- end -}}