mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 16:47:30 +00:00
Merge branch 'dev' of github.com:gogits/gogs into dev
This commit is contained in:
commit
b3f1ae1ba6
|
@ -146,7 +146,7 @@ func compile(options RenderOptions) *template.Template {
|
|||
tmpl := t.New(filepath.ToSlash(name))
|
||||
|
||||
for _, funcs := range options.Funcs {
|
||||
tmpl.Funcs(funcs)
|
||||
tmpl = tmpl.Funcs(funcs)
|
||||
}
|
||||
|
||||
template.Must(tmpl.Funcs(helperFuncs).Parse(string(buf)))
|
||||
|
|
Loading…
Reference in a new issue