Use default flex layout for lists

This commit is contained in:
budparr 2018-04-09 10:14:03 -04:00
parent cf1a85ec29
commit 60a5e2e708
No known key found for this signature in database
GPG Key ID: 05AB7813F9C39728

View File

@ -1,18 +1,15 @@
{{ define "main" }} {{ define "main" }}
<article class="cf pa3 pa4-m pa4-l"> <article class="pa3 pa4-ns nested-copy-line-height nested-img">
<div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links nested-img mid-gray"> <main class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray">
{{ .Content }} {{- .Content -}}
</div> </main>
</article>
<div class="mw8 center">
{{ $paginator := .Paginate (where .Data.Pages "Section" .Section) }}
<section class="flex-ns flex-wrap justify-around mt5"> <section class="flex-ns flex-wrap justify-around mt5">
{{ range $paginator.Pages }} {{ range .Paginator.Pages }}
<div class="relative w-100 mb4 bg-white"> <div class="relative w-100 w-30-l mb4 bg-white">
{{ partial "summary.html" . }} {{- partial "summary.html" . -}}
</div> </div>
{{ end }} {{ end }}
</section> </section>
{{ template "_internal/pagination.html" . }} {{- template "_internal/pagination.html" . -}}
</div> </article>
{{ end }} {{ end }}