Don't make assets configurable

This commit is contained in:
Maximilian Friedersdorff 2025-06-25 21:30:57 +01:00
parent da11dbd1c8
commit 868d2a7bbd
4 changed files with 16 additions and 18 deletions

View file

@ -13,7 +13,7 @@ type Ctx map[string]any
func RenderTemplate(w http.ResponseWriter, tmpl string, context any) error {
files := []string{
filepath.Join(conf.Conf.Templates.Dir, conf.Conf.Templates.Base),
filepath.Join(conf.Conf.Templates.Dir, conf.BaseTemplate),
filepath.Join(conf.Conf.Templates.Dir, tmpl),
}