fediversity.eu/themes/hugoplate/layouts/blog/list.html

28 lines
783 B
HTML
Raw Normal View History

2024-03-27 12:24:18 +01:00
{{ define "main" }} {{ partial "page-header" . }}
2024-03-26 16:28:28 +01:00
2024-03-27 12:24:18 +01:00
<section class="section">
<div class="container">
<div class="row gx-5">
<!-- blog posts -->
<div class="lg:col-8">
<div class="row">
{{ $paginator:= .Paginate .RegularPages }} {{ range $paginator.Pages
}}
<div class="md:col-6 mb-14">
{{ partial "components/blog-card" . }}
2024-03-26 16:28:28 +01:00
</div>
2024-03-27 12:24:18 +01:00
{{ end }}
2024-03-26 16:28:28 +01:00
</div>
2024-03-27 12:24:18 +01:00
{{ partial "components/pagination.html" . }}
</div>
<!-- sidebar -->
<div class="lg:col-4">
<!-- widget -->
{{ $widget:= site.Params.widgets.sidebar }} {{ partialCached
"widgets/widget-wrapper" ( dict "Widgets" $widget "Scope" . ) }}
2024-03-26 16:28:28 +01:00
</div>
</div>
2024-03-27 12:24:18 +01:00
</div>
</section>
2024-03-26 16:28:28 +01:00
{{ end }}