gcg-website/layouts/_default/list.html
Denys Konovalov 799acd03a9 Layout-Umbauten:
- Standartisierung der Karten-/Template-Elemente (schließt #224)
- Verbesserung einiger Ansichten
- "schrumpfung"
- Code-Cleanups
- Trabsliteration Kategorien
u. v. m.
2023-04-03 21:45:44 +02:00

25 lines
611 B
HTML

{{ define "main" }}
<section class="section-sm">
<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" }}
</div>
{{ end }}
<div class="col-12 mt-4">
{{ template "_internal/pagination.html" . }}
</div>
</div>
</div>
{{ partial "blog-sidebar.html" . }}
</div>
</div>
</section>
{{ end }}