mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-04-21 14:12:45 +00:00
Fix pagination (#76)
This commit is contained in:
parent
6ff8e53300
commit
8b59adb79b
@ -5,9 +5,9 @@
|
||||
</div>
|
||||
</article>
|
||||
<div class="mw8 center">
|
||||
{{ $section := where .Data.Pages "Section" .Section }}
|
||||
{{ $paginator := .Paginate (where .Data.Pages "Section" .Section) }}
|
||||
<section class="flex-ns flex-wrap justify-around mt5">
|
||||
{{ range $section }}
|
||||
{{ range $paginator.Pages }}
|
||||
<div class="relative w-100 mb4 bg-white">
|
||||
{{ partial "summary.html" . }}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user