mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 00:38:36 +00:00
This commit is contained in:
committed by
techknowlogick
parent
194a11eb11
commit
0a24f5cac8
@@ -165,6 +165,9 @@ func NewFuncMap() []template.FuncMap {
|
||||
"DisableGitHooks": func() bool {
|
||||
return setting.DisableGitHooks
|
||||
},
|
||||
"DisableImportLocal": func() bool {
|
||||
return !setting.ImportLocalPaths
|
||||
},
|
||||
"TrN": TrN,
|
||||
"Dict": func(values ...interface{}) (map[string]interface{}, error) {
|
||||
if len(values)%2 != 0 {
|
||||
|
Reference in New Issue
Block a user