hugo-theme-zirakzigil/layouts/index.html

13 lines
382 B
HTML
Raw Normal View History

2023-02-20 22:37:42 -05:00
{{ define "main" }}
2023-11-01 19:37:20 -04:00
<main class="flex flex-wrap justify-around gap-4">
2023-02-20 22:37:42 -05:00
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
{{ range $paginator.Pages }}
2023-11-01 19:37:20 -04:00
<div class="card lg:w-1/4 glass">
2023-02-20 22:37:42 -05:00
{{ .Render "summary" }}
</div>
{{ end }}
</main>
2023-11-01 19:37:20 -04:00
<div class="flex justify-center">
{{ partial "pagination.html" . }}
</div>
{{ end }}