2021-07-08 10:42:38 +02:00
|
|
|
{{ define "main" }}
|
|
|
|
<section class='entries'>
|
|
|
|
<div class="h-feed">
|
2021-09-09 21:05:38 +02:00
|
|
|
{{ range (.Paginator 13).Pages }}
|
2021-07-08 10:42:38 +02:00
|
|
|
|
2021-07-15 17:44:57 +02:00
|
|
|
{{ if in .Params.categories "tv"}}
|
2021-07-09 10:59:04 +02:00
|
|
|
|
|
|
|
{{- partial "video_box.html" . -}}
|
2021-07-08 10:42:38 +02:00
|
|
|
|
2021-07-15 17:44:57 +02:00
|
|
|
{{ else if in .Params.categories "calendar" }}
|
2021-07-08 10:42:38 +02:00
|
|
|
|
2021-07-09 10:59:04 +02:00
|
|
|
{{- partial "calendar_card.html" . -}}
|
2021-07-08 10:42:38 +02:00
|
|
|
|
2021-09-09 21:05:38 +02:00
|
|
|
{{ else if in .Params.categories "network" }}
|
|
|
|
|
|
|
|
{{- partial "network_card.html" . -}}
|
|
|
|
|
2021-07-09 10:59:04 +02:00
|
|
|
{{ else }}
|
2021-07-08 10:42:38 +02:00
|
|
|
|
2021-07-09 10:59:04 +02:00
|
|
|
{{- partial "card.html" . -}}
|
|
|
|
|
|
|
|
{{ end }}
|
2021-07-08 10:42:38 +02:00
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<nav class="pagination">
|
|
|
|
{{ template "_internal/pagination.html" . }}
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
</main>
|
|
|
|
{{ end }}
|
|
|
|
|