diff --git a/src/assets/htmx/login.html b/src/assets/htmx/login.html index bfc86de..89784c2 100644 --- a/src/assets/htmx/login.html +++ b/src/assets/htmx/login.html @@ -15,70 +15,4 @@ - - -{{ if .script }} - -{{ end }} \ No newline at end of file + \ No newline at end of file diff --git a/src/views/loginPage.go b/src/views/loginPage.go index e238d4b..ec83c91 100644 --- a/src/views/loginPage.go +++ b/src/views/loginPage.go @@ -5,9 +5,7 @@ import "net/http" func LoginPage(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) - loginTemplate := HtmlTemplate("./assets/htmx/login.html", map[string]interface{}{ - "script": true, - }) + loginTemplate := HtmlTemplate("./assets/htmx/login.html", nil) loginPage := HtmlTemplate("./assets/htmx/terminal.html", map[string]interface{}{ "content": loginTemplate,