From: josuer08 Date: Mon, 24 Jul 2023 04:40:49 +0000 (-0400) Subject: This is just a comment X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=29953a4df96816469d28bc26e152879414e53610;p=VSCPweb%2F.git This is just a comment --- diff --git a/vscpweb.go b/vscpweb.go index 5a3f2dd..f27e55a 100644 --- a/vscpweb.go +++ b/vscpweb.go @@ -154,6 +154,7 @@ func indexHandler(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) passarg := "some passing argument" indexTemplate := template.Must(template.ParseFiles("templates/views/index.html")) + //check for go partial templates so you can extract blocks you want to use indexTemplate.Execute(w, passarg) }