25 lines
622 B
HTML
Raw Permalink Normal View History

2022-03-18 13:35:57 +01:00
{{ define "main" }}
<section class="section-sm">
2022-03-18 13:35:57 +01:00
<div class="container">
<div class="row">
<div class="col-lg-8 order-2 order-lg-1">
<div class="row">
{{ $paginator := .Paginate ( where .Data.Pages "Type" "post") }}
{{ range $paginator.Pages }}
<div class="col-md-6 d-flex align-items-stretch">
{{ .Render "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 }}