#109 add home page again
Some checks failed
Build Docker Image / Explore-Gitea-Actions (push) Failing after 5s
Some checks failed
Build Docker Image / Explore-Gitea-Actions (push) Failing after 5s
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user