Replace template dir file path hack with embed directive.

This commit is contained in:
mikestefanello 2023-12-10 09:33:34 -05:00
parent 0879aaf21d
commit 3df20c01a7
7 changed files with 21 additions and 33 deletions

View file

@ -9,9 +9,6 @@ import (
)
const (
// TemplateDir stores the name of the directory that contains templates
TemplateDir = "../templates"
// TemplateExt stores the extension used for the template files
TemplateExt = ".gohtml"