Issue details
I am using Go language
Page is blank when trying to access footer.html from a different directory level
My folder structure is like below
Go
static
css
main.css
templates
front
home
home.html
footer.html
main.go
main.go code
func homeHandler(w http.ResponseWriter, r *http.Request) {
templates = template.Must(template.ParseGlob("templates/front/home/*.html"))
templates.ExecuteTemplate(w, "home.html", nil)
}
html
{{template "footer.html"}}