use categories

This commit is contained in:
rra 2021-07-15 17:44:57 +02:00
parent 4683802314
commit b7db845be6

View File

@ -3,11 +3,11 @@
<div class="h-feed">
{{ range (.Paginator 10).Pages }}
{{ if in .Params.category "tv"}}
{{ if in .Params.categories "tv"}}
{{- partial "video_box.html" . -}}
{{ else if in .Params.category "calendar" }}
{{ else if in .Params.categories "calendar" }}
{{- partial "calendar_card.html" . -}}