25 lines
611 B
HTML
Raw 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-sm-6">
{{ .Render "card" }}
2022-03-18 13:35:57 +01:00
</div>
{{ end }}
<div class="col-12 mt-4">
{{ template "_internal/pagination.html" . }}
</div>
</div>
</div>
{{ partial "blog-sidebar.html" . }}
</div>
</div>
</section>
2022-05-27 18:07:35 +02:00
{{ end }}