lumbung.space/themes/lumbung-theme/layouts/_default/list.html
cellarspoon 8277689ce5
All checks were successful
continuous-integration/drone/push Build is passing
ticker to main page, ignore cruft
2022-01-12 10:13:55 +01:00

41 lines
845 B
HTML

{{ define "main" }}
<section class='entries'>
<div class="h-feed">
{{ range (.Paginator 13).Pages }}
{{ 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" . -}}
{{ else if in .Params.categories "page" }}
{{- partial "blank.html" . -}}
{{ else }}
{{- partial "card.html" . -}}
{{ end }}
{{ end }}
</div>
<nav class="pagination">
{{ template "_internal/pagination.html" . }}
</nav>
</main>
{{ end }}