Prebuild templates (base.html + content) at startup to avoid a file parse every page load

This commit is contained in:
Maximilian
2023-12-22 21:03:15 -06:00
parent 3ffd548623
commit b30af86e58
5 changed files with 79 additions and 32 deletions

View File

@ -23,7 +23,8 @@ type Configuration struct {
}
Template struct {
BaseName string `json:"BaseTemplateName"`
BaseName string `json:"BaseTemplateName"`
ContentPath string `json:"ContentPath"`
}
}