#109 add home page again
Some checks failed
Build Docker Image / Explore-Gitea-Actions (push) Failing after 5s

This commit is contained in:
Tim Wundenberg
2024-08-23 19:16:30 +02:00
parent 9a5fd87414
commit 6216bd56b6
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)