hugo_frigg/layouts/archives/list.html

38 lines
847 B
HTML

{{ partial "header.html" . }}
<body>
<main class="wrapper">
{{ partial "navigation.html" . }}
<section id="blog-list" class="container liste">
<article>
<header>
<h1 class="list-title">
{{ i18n "articles" | title }}
</h1>
</header>
<h2 class="list-subtitle">
{{ i18n "shows" | title }}
</h2>
<div class="archives-list">
{{- range .Paginator.Pages -}}
{{ if in .Params.categories "Spectacle" }}
{{- .Render "li" -}}
{{- end -}}
{{- end -}}
</div>
<h2 class="list-subtitle">
{{ i18n "movies" | title }}
</h2>
<div class="archives-list">
{{- range .Paginator.Pages -}}
{{ if in .Params.categories "Film" }}
{{- .Render "li" -}}
{{- end -}}
{{- end -}}
</div>
</article>
{{ partial "pagination.html" . }}
</section>
</main>
</body>
</html>