2021-12-15 10:09:08 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
<section class='entries'>
|
|
|
|
<div class="h-feed">
|
2022-01-07 07:53:27 +00:00
|
|
|
{{ range (where (.Paginator 13).Pages }}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
|
|
|
{{ if in .Params.categories "tv"}}
|
|
|
|
|
|
|
|
{{- partial "video_box.html" . -}}
|
|
|
|
|
|
|
|
{{ else if in .Params.categories "calendar" }}
|
|
|
|
|
|
|
|
{{- partial "calendar_card.html" . -}}
|
|
|
|
|
|
|
|
{{ else if in .Params.categories "network" }}
|
|
|
|
|
|
|
|
{{- partial "network_card.html" . -}}
|
|
|
|
|
|
|
|
{{ else if in .Params.categories "shouts" }}
|
|
|
|
|
|
|
|
{{- partial "shout_card.html" . -}}
|
2022-01-07 07:53:27 +00:00
|
|
|
|
|
|
|
{{ else if in .Params.categories "page" }}
|
|
|
|
|
|
|
|
{{- partial "blank.html" . -}}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
|
|
|
{{ else }}
|
|
|
|
|
|
|
|
{{- partial "card.html" . -}}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<nav class="pagination">
|
|
|
|
{{ template "_internal/pagination.html" . }}
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
</main>
|
|
|
|
{{ end }}
|