- {{range .CurrentlyAiring}}
- {{template "anime_card" dict "Anime" . "WithActions" true "IsWatchlist" (index $.WatchlistMap .MalID)}}
- {{end}}
+
+ {{template "catalog_skeleton"}}
@@ -30,12 +26,46 @@
-
-
- {{range .MostPopular}}
- {{template "anime_card" dict "Anime" . "WithActions" true "IsWatchlist" (index $.WatchlistMap .MalID)}}
- {{end}}
+
+ {{template "catalog_skeleton"}}
-{{end}}
\ No newline at end of file
+
+
+{{end}}
+
+{{define "catalog_section"}}
+ {{if eq .Section "Continue"}}
+ {{if .ContinueWatching}}
+ {{template "continue_watching" .ContinueWatching}}
+ {{end}}
+ {{else}}
+
+ {{range .Animes}}
+ {{template "anime_card" dict "Anime" . "WithActions" true "IsWatchlist" (index $.WatchlistMap .MalID)}}
+ {{end}}
+
+ {{end}}
+{{end}}
+
+{{define "catalog_skeleton"}}
+