Skip to content

Commit

Permalink
fix: add default 12 limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirrito-k423 committed Jun 2, 2024
1 parent 269cc63 commit 590ddfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/events/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ <h2 class="section-title">{{ .Params.title | safeHTML }}</h2>
</header>
<section class="panel-fog full4footer">
<div class="four-grids">

{{ $paginator := .Paginate .Data.Pages 8 }}
{{ $paginate := .Params.Paginate | default 12 }}
{{ $paginator := .Paginate .Data.Pages $paginate }}
{{ range $paginator.Pages }}

<article class="event-grid quarter-grid">
Expand Down

0 comments on commit 590ddfc

Please sign in to comment.