mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Use default flex layout for lists
This commit is contained in:
parent
cf1a85ec29
commit
60a5e2e708
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user