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 10:28: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-03-25 06:59:00 +00:00
|
|
|
{{ else if in .Params.categories "pen.lumbung.space" }}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-03-25 06:59:00 +00:00
|
|
|
{{- partial "shout_card.html" . -}}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-03-25 06:59:00 +00:00
|
|
|
{{ else if in .Params.categories "network" }}
|
2021-12-15 10:09:08 +00:00
|
|
|
|
2022-03-25 06:59:00 +00:00
|
|
|
{{- partial "network_card.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>
|
|
|
|
</main>
|
2021-12-15 10:09:08 +00:00
|
|
|
{{ end }}
|
|
|
|
|