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">
|
2023-07-24 12:02:51 +02:00
|
|
|
<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 }}
|
2023-04-05 14:16:33 +02:00
|
|
|
<div class="col-md-6 d-flex align-items-stretch">
|
2023-07-15 15:50:10 +02:00
|
|
|
{{ partial "card" . }}
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
<div class="col-12 mt-4">
|
2023-04-05 14:16:33 +02:00
|
|
|
{{ 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 }}
|