{{ define "main" }}
{{/*
This template is the same as the default and is here to demonstrate that if you have a content directory called "post"
you can create a layouts directory, just for that section.
*/}}
<article>
	<section>
		{{ .Content }}
	</section>
	<aside>
		{{ range .Paginator.Pages }}
		<div>
			{{/*
			Note we can use `.Render` here for items just in this section, instead of a partial to pull in items for the list
			page. https://gohugo.io/functions/render/
			*/}}
			{{ .Render "summary" }}
		</div>
		{{ end }}
	</aside>
	{{ partial "pagination.html" .Paginator }}
</article>
{{ end }}