mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 09:12:47 +00:00
Use paginator
This commit is contained in:
parent
60a5e2e708
commit
253214cbc6
@ -7,7 +7,7 @@
|
|||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</main>
|
</main>
|
||||||
<section class="flex-ns flex-wrap justify-around mt5">
|
<section class="flex-ns flex-wrap justify-around mt5">
|
||||||
{{ range .Pages }}
|
{{ range .Paginator.Pages }}
|
||||||
<div class="relative w-100 w-30-l mb4 bg-white">
|
<div class="relative w-100 w-30-l mb4 bg-white">
|
||||||
{{/*
|
{{/*
|
||||||
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/
|
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/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user