mirror of
https://github.com/Xevion/glance.git
synced 2025-12-10 12:07:22 -06:00
Add concat function
This commit is contained in:
@@ -514,6 +514,9 @@ var customAPITemplateFuncs = func() template.FuncMap {
|
||||
|
||||
return results
|
||||
},
|
||||
"concat": func(items ...string) string {
|
||||
return strings.Join(items, "")
|
||||
},
|
||||
}
|
||||
|
||||
for key, value := range globalTemplateFunctions {
|
||||
|
||||
Reference in New Issue
Block a user