{{ 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. */}}
{{ .Content }}
{{ range .Paginator.Pages }}
{{/* 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" }}
{{ end }}
{{ template "_internal/pagination.html" . }}
{{ end }}