gcg-website/layouts/_default/list.html

25 lines
602 B
HTML
Raw Normal View History

2022-03-18 13:35:57 +01:00
{{ define "main" }}
2023-06-11 21:13:11 +02:00
<section class="section">
2022-03-18 13:35:57 +01:00
<div class="container">
<div class="row">
<div class="col-lg-8">
2022-03-18 13:35:57 +01:00
<div class="row">
{{ $paginator := .Paginate ( where .Data.Pages "Type" "post") }}
{{ range $paginator.Pages }}
<div class="col-md-6 d-flex align-items-stretch">
{{ partial "card" . }}
2022-03-18 13:35:57 +01:00
</div>
{{ end }}
<div class="col-12 mt-4">
{{ partial "pagination" . }}
2022-03-18 13:35:57 +01:00
</div>
</div>
</div>
{{ partial "blog-sidebar.html" . }}
</div>
</div>
</section>
2022-05-27 18:07:35 +02:00
{{ end }}