1{{ define "main" }}
2{{/*
3 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.
4 */}}
5 <article class="pa3 pa4-ns nested-copy-line-height nested-img">
6 <section class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray">
7 {{ .Content }}
8 </section>
9 <aside class="flex-ns flex-wrap justify-around mt5">
10 {{ range .Paginator.Pages }}
11 <div class="relative w-100 w-30-l mb4 bg-white">
12 {{/*
13 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/
14 */}}
15 {{ .Render "summary" }}
16 </div>
17 {{ end }}
18 </aside>
19 {{ template "_internal/pagination.html" . }}
20 </article>
21{{ end }}