template.ParseFiles reading multiple files

Try something like this:

t, err := template.New("templ").ParseGlob(path + "/templates/*.html")

[le] I saw you already used ParseGlob.

1 Like