{{- define "main" -}}

{{ .Title | markdownify }}

{{ .Content }}
{{- end -}} {{- define "aside" -}} {{- if .Params.description -}}

{{ .Params.description }}

{{- end -}} {{- if or (.Params.author) (.Params.date) -}}

{{- if .Params.author -}}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{- end -}} {{ if .Date }}{{ .Date.Format "2006-01-02" }}{{ end }}

{{- end -}} {{- if and (.Params.toc) (.TableOfContents) -}}
{{ .Title }}: {{ .TableOfContents }} {{- end -}} {{- end -}}