restructure html templates

This commit is contained in:
2025-12-07 15:15:00 +01:00
parent fb37a2677c
commit fcd21a7ffa
8 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ func (c *PlayController) Play(w http.ResponseWriter, r *http.Request) {
return
}
tmpl, err := template_utils.GetTemplate("play", "http/views/layouts/main.html", "http/views/play.html")
tmpl, err := template_utils.GetTemplate("play_controller_play", "http/views/shared/layout.html", "http/views/play/play.html")
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return