Added list.html

This commit is contained in:
Aroy-Art 2021-07-20 17:23:30 +02:00
parent d00eb69452
commit 8432b6ce5c

View file

@ -0,0 +1,30 @@
{{ define "main" }}
{{ partial "navigation.html" . }}
{{"<!-- Blog Section -->" | safeHTML }}
<section id="blog" class="section">
<div class="container">
<div class="row">
<div class="col-12">
{{"<!-- Section Title -->" | safeHTML }}
<dir class="title text-center wow fadeInDown">
<h2>{{ with i18n "blogTitle" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
{{ with i18n "blogTitle" }} {{ index (split . " ") 1 | safeHTML }} {{ end }}</span></h2>
<div class="border-BioTech"></div>
</dir>
</div>
{{"<!-- Section Title -->" | safeHTML }}
{{ $paginator := .Paginate .Data.Pages}}
{{ range $paginator.Pages }}
{{ .Render "article" }}
{{ end }}
<div class="col-12">
{{ template "_internal/pagination.html" . }}
</div>
</div>
</div>
</section>
{{"<!-- /Blog Section -->" | safeHTML }}
{{ end }}