diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 52f19c0..1a1663a 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -5,22 +5,44 @@
{{ $cat }}
{{ end }} -
- {{ $currentCat := .Title }} - {{ range .Site.RegularPages }} - {{ if and (.Params.category) (or (eq $currentCat "All") (eq .Params.category $currentCat)) }} - {{ partial "card.html" . }} - {{ end }} + +
+ {{ range $cat := slice "Books" "Movies" "TV Series" "Recipes" "YouTube" "Music" "Concerts" }} +
+ {{ range where $.Site.RegularPages "Params.category" $cat }} + {{ if not (eq .Params.draft true) }} + {{ partial "card.html" . }} + {{ end }} + {{ end }} +
{{ end }} -
- {{ end }}