consolidated UI setup into a single function call from main

This commit is contained in:
2026-02-20 15:52:36 -07:00
parent 8a1c770079
commit 7ae9326292
6 changed files with 38 additions and 13 deletions
+2 -2
View File
@@ -303,8 +303,8 @@ func postRewrite(a jet.Arguments) reflect.Value {
return reflect.ValueOf(data)
}
// SetupTemplates is called to set up the template renderer after the configuration is loaded.
func SetupTemplates() {
// setupTemplates is called to set up the template renderer after the configuration is loaded.
func setupTemplates() {
views = jet.NewSet(
multi.NewLoader(
jet.NewOSFileSystemLoader(config.GlobalConfig.Rendering.TemplateDir),