diff --git a/left/view/template.go b/left/view/template.go index 7bce3376..eb04d8b8 100644 --- a/left/view/template.go +++ b/left/view/template.go @@ -9,13 +9,13 @@ import ( ) func parseTemplate(name string, templateFS fs.FS) *template.Template { - return template.Must(template.New(name).Funcs(helperMap).ParseFS(templateFS, name, "**/*.gohtml")) + return template.Must(template.New(name).Funcs(helperMap).ParseFS(templateFS, name, "**/*.html")) } const ( - ErrorPage string = "error.gohtml" - IndexPage string = "index.gohtml" - EnvelopePage string = "envelope.gohtml" + ErrorPage string = "error.html" + IndexPage string = "index.html" + EnvelopePage string = "envelope.html" ) type IndexData struct { diff --git a/left/view/template/envelope.gohtml b/left/view/template/envelope.html similarity index 100% rename from left/view/template/envelope.gohtml rename to left/view/template/envelope.html diff --git a/left/view/template/error.gohtml b/left/view/template/error.html similarity index 100% rename from left/view/template/error.gohtml rename to left/view/template/error.html diff --git a/left/view/template/index.gohtml b/left/view/template/index.html similarity index 100% rename from left/view/template/index.gohtml rename to left/view/template/index.html diff --git a/left/view/template/layout/default.gohtml b/left/view/template/layout/default.html similarity index 100% rename from left/view/template/layout/default.gohtml rename to left/view/template/layout/default.html diff --git a/left/view/template/shim/nav.gohtml b/left/view/template/shim/nav.html similarity index 100% rename from left/view/template/shim/nav.gohtml rename to left/view/template/shim/nav.html