diff --git a/templates/components/anime_statistics.gohtml b/templates/components/anime_statistics.gohtml new file mode 100644 index 0000000..46cb33d --- /dev/null +++ b/templates/components/anime_statistics.gohtml @@ -0,0 +1,36 @@ +{{define "anime_statistics"}} +{{if .Items}} +
+
+ Watching + {{.Items.Watching}} +
+
+ Completed + {{.Items.Completed}} +
+
+ On Hold + {{.Items.OnHold}} +
+
+ Dropped + {{.Items.Dropped}} +
+
+ Plan to Watch + {{.Items.PlanToWatch}} +
+
+{{end}} +{{end}} + +{{define "anime_statistics_loading"}} +
+
+ {{range (seq 5)}} +
+ {{end}} +
+
+{{end}}