diff --git a/nirvash.go b/nirvash.go index d91c5c5..f7c90ea 100644 --- a/nirvash.go +++ b/nirvash.go @@ -41,7 +41,7 @@ func main() { }, Fallback: *template.Must(template.ParseFiles( pathConcat(templateRoot, "error.html"), - pathConcat(templateRoot, "header.html"), + pathConcat(templateRoot, "header_err.html"), pathConcat(templateRoot, "footer.html"))), } diff --git a/templates/header_err.html b/templates/header_err.html new file mode 100644 index 0000000..9a86220 --- /dev/null +++ b/templates/header_err.html @@ -0,0 +1,18 @@ +{{define "header"}} + + + + + + + + Nirvash — CMS + + +

Nirvash CMS

+ +{{end}} \ No newline at end of file