hugo_frigg/layouts/archives/list.html

39 lines
847 B
HTML
Raw Permalink Normal View History

2021-10-26 11:34:30 +02:00
{{ 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>
2021-10-26 11:34:30 +02:00
<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 -}}
2021-10-26 11:34:30 +02:00
{{- end -}}
</div>
</article>
{{ partial "pagination.html" . }}
</section>
</main>
</body>
</html>