Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/term.html')
-rw-r--r--layouts/_default/term.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index 94de3c4..d55f674 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -22,7 +22,7 @@
</nav>
{{ end }}
<div class="post-lists">
- {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
+ {{ $paginator := .Paginate (where .Data.Pages "Type" "post") (.Site.Params.termPaginate | default 10) }}
{{ range $paginator.Pages }}
<div class="box post-box">
<div class="post-box-title">