Don't make assets configurable
This commit is contained in:
parent
da11dbd1c8
commit
868d2a7bbd
4 changed files with 16 additions and 18 deletions
|
|
@ -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),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue