lumbung.space/themes/lumbung-theme/layouts/_default/list.html
Aadil Ayub ad2572012c
Some checks failed
continuous-integration/drone/push Build is failing
hide portal card from home page
2022-01-07 12:46:03 +05:00

37 lines
734 B
HTML

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