{{ define "main" }}
{{ 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 }}
{{ end }}