use categories
This commit is contained in:
parent
4683802314
commit
b7db845be6
@ -3,11 +3,11 @@
|
|||||||
<div class="h-feed">
|
<div class="h-feed">
|
||||||
{{ range (.Paginator 10).Pages }}
|
{{ range (.Paginator 10).Pages }}
|
||||||
|
|
||||||
{{ if in .Params.category "tv"}}
|
{{ if in .Params.categories "tv"}}
|
||||||
|
|
||||||
{{- partial "video_box.html" . -}}
|
{{- partial "video_box.html" . -}}
|
||||||
|
|
||||||
{{ else if in .Params.category "calendar" }}
|
{{ else if in .Params.categories "calendar" }}
|
||||||
|
|
||||||
{{- partial "calendar_card.html" . -}}
|
{{- partial "calendar_card.html" . -}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user