{{ define "main" }}
	<main>
		<article>
		{{ if or .Title .Content }}
		<div>
			{{ with .Title }}<h2 class="title">{{ . }}</h2>{{ end }}
			{{ with .Content }}<div>{{ . }}</div>{{ end }}
		</div>
		{{ end }}

		{{ range sort (where .Site.RegularPages.ByTitle "Section" "ae" ) }}
			{{ .Render "summary" }}
		{{ end }}
	</article>
	</main>
{{ end }}