#109 add home page again

This commit is contained in:
Tim Wundenberg
2024-08-23 19:16:30 +02:00
committed by Tim
parent 262f44d7cd
commit 99b249fa66
17 changed files with 96 additions and 348 deletions

View File

@@ -12,7 +12,7 @@ func HandleStaticUi(w http.ResponseWriter, r *http.Request) {
if r.URL.Path != "/" {
comp = templates.Layout(templates.NotFound())
} else {
comp = templates.Layout(nil)
comp = templates.Layout(templates.Index())
}
comp.Render(r.Context(), w)