2021-12-15 10:09:08 +00:00
|
|
|
{{ define "main" }}
|
2022-01-13 08:22:22 +00:00
|
|
|
<main>
|
|
|
|
<section class='entries'>
|
|
|
|
<div class="h-feed">
|
2022-01-17 20:38:22 +00:00
|
|
|
{{ range where (.Paginator 13).Pages "Params.hidden" "ne" "true" }}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{ if in .Params.categories "tv"}}
|
|
|
|
|
|
|
|
{{- partial "video_box.html" . -}}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{ else if in .Params.categories "calendar" }}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{- partial "calendar_card.html" . -}}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{ else if in .Params.categories "network" }}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{- partial "network_card.html" . -}}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{ else if in .Params.categories "shouts" }}
|
2022-01-07 08:17:10 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{- partial "shout_card.html" . -}}
|
2022-04-20 09:54:37 +00:00
|
|
|
|
|
|
|
{{ else if in .Params.categories "pen" }}
|
|
|
|
|
|
|
|
{{- partial "pen_card.html" . -}}
|
2022-08-31 16:15:44 +00:00
|
|
|
|
|
|
|
{{ else if in .Params.categories "book" }}
|
|
|
|
|
|
|
|
{{- partial "book.html" . -}}
|
2022-01-13 08:22:22 +00:00
|
|
|
|
|
|
|
{{ else if in .Params.categories "page" }}
|
2022-01-07 07:53:27 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{- partial "blank.html" . -}}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{ else }}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{- partial "card.html" . -}}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{ end }}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-01-13 08:22:22 +00:00
|
|
|
<nav class="pagination">
|
|
|
|
{{ template "_internal/pagination.html" . }}
|
|
|
|
</nav>
|
2022-01-07 08:17:10 +00:00
|
|
|
</main>
|
2021-12-15 10:09:08 +00:00
|
|
|
{{ end }}
|