Small addition to page-config infolog

- Adresses issue #26
This commit is contained in:
Christoph Kluge 2023-01-20 09:58:16 +01:00
parent 1ec543daf6
commit 25286ff068

View File

@ -92,7 +92,7 @@ func RenderTemplate(rw http.ResponseWriter, r *http.Request, file string, page *
} }
} }
log.Infof("%v\n", page.Config) log.Infof("WEB/WEB > page config : %v\n", page.Config)
if err := t.Execute(rw, page); err != nil { if err := t.Execute(rw, page); err != nil {
log.Errorf("WEB/WEB > template error: %s", err.Error()) log.Errorf("WEB/WEB > template error: %s", err.Error())
} }