Enha: split onto more templates

This commit is contained in:
Grail Finder
2025-05-04 08:36:53 +03:00
parent 06203ab39e
commit e335bf9dc8
9 changed files with 111 additions and 103 deletions

View File

@ -45,7 +45,7 @@ func HandleFrontLogin(w http.ResponseWriter, r *http.Request) {
abortWithError(w, err.Error())
return
}
tmpl.ExecuteTemplate(w, "main", roundWords)
tmpl.ExecuteTemplate(w, "base", roundWords)
}
func makeCookie(username string, remote string) (*http.Cookie, error) {