theme-blog-ewen/layouts/_default/list.html

28 lines
699 B
HTML
Raw Normal View History

2023-12-15 16:26:57 +00:00
{{ define "main "}}
<!-- blog post -->
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-lg-8 mb-5 mb-lg-0">
<div class="row">
{{ $paginator := .Paginate .Data.Pages }}
{{ range $paginator.Pages }}
{{ .Render "post"}}
{{ end }}
</div>
</div>
<!-- sidebar-->
{{ partial "sidebar.html" . }}
<!-- pagination -->
<div class="col-12 mt-5">
{{ template "_internal/pagination.html" . }}
</div>
</div>
</div>
</section>
{{ end }}