Browse Source

use categories

main
rra 3 years ago
parent
commit
b7db845be6
  1. 4
      layouts/index.html

4
layouts/index.html

@ -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…
Cancel
Save