+ {{ if index . "Fiction" }}
+
+ {{ $cat := "Fiction" }}
+ {{ $book := index . $cat }}
+
- {{ end }}
-
+ {{ $cat := "Non-Fiction" }}
+ {{ $book := index . $cat }}
+
+ {{ $cat := "Comics" }}
+ {{ $book := index . $cat }}
+
+
+ {{ range $cat, $book := .}}
+ {{ if or (eq $cat "Fiction") (eq $cat "Non-Fiction") (eq $cat "Comics") }}
+ {{ continue }}
+ {{ end }}
+
+ {{ end }}
+
+ {{ else }}
+
+
+ {{ end }}