Update files

This commit is contained in:
DeveloperDurp 2024-07-28 10:55:55 -05:00
parent 67b4818274
commit 24d07aeb37
2 changed files with 4 additions and 2 deletions

View file

@ -16,10 +16,10 @@ func GetIndex(w http.ResponseWriter, r *http.Request) {
Message string Message string
MainTitle string MainTitle string
}{ }{
Message: "Hello World!!!", Message: "Hello World!!",
MainTitle: "SimpleWebsite!", MainTitle: "SimpleWebsite!",
} }
tmpl.ExecuteTemplate(w, "index.html", data) tmpl.ExecuteTemplate(w, "index", data)
} }

View file

@ -1,3 +1,4 @@
{{ define "index" }}
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
@ -20,3 +21,4 @@
</div> </div>
</body> </body>
</html> </html>
{{ end }}