From e545ef1a062ffb2ca2a342bbd469994063c83403 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Tue, 16 Jun 2026 10:47:35 +0200 Subject: [PATCH] feat: add anime_themes component template --- templates/components/anime_themes.gohtml | 38 ++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 templates/components/anime_themes.gohtml diff --git a/templates/components/anime_themes.gohtml b/templates/components/anime_themes.gohtml new file mode 100644 index 0000000..0c87a3f --- /dev/null +++ b/templates/components/anime_themes.gohtml @@ -0,0 +1,38 @@ +{{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 "anime_themes_dialog"}} + + +
+{{end}}