diff --git a/templates/anime.gohtml b/templates/anime.gohtml index 5761018..02d8088 100644 --- a/templates/anime.gohtml +++ b/templates/anime.gohtml @@ -38,6 +38,58 @@ {{end}} {{end}} +{{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_themes"}} +{{if or .Items.Openings .Items.Endings}} +
+
+

Openings

+
+ {{range .Items.Openings}} +
{{.}}
+ {{end}} +
+
+
+

Endings

+
+ {{range .Items.Endings}} +
{{.}}
+ {{end}} +
+
+
+{{else}} +
No theme songs available.
+{{end}} +{{end}} + {{define "title"}}{{.Anime.DisplayTitle}}{{end}} {{define "content"}} {{if .WatchlistIDs}}{{end}}