mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
api, frontend: use triple square brackets for templating
This commit is contained in:
@ -108,7 +108,7 @@ func initStaticRouter(router *mux.Router) error {
|
||||
return err
|
||||
}
|
||||
|
||||
t, err := template.New(page).Delims("<<<", ">>>").Parse(string(contents))
|
||||
t, err := template.New(page).Delims("[[[", "]]]").Parse(string(contents))
|
||||
if err != nil {
|
||||
logger.Errorf("cannot parse %s%s template: %v", os.Getenv("STATIC"), file, err)
|
||||
return err
|
||||
|
Reference in New Issue
Block a user