mirror of
https://github.com/kataras/iris.git
synced 2026-03-06 00:16:12 +00:00
New: i18n pluralization and variables support and more...
fixes: #1649, #1648, #1641, #1650 relative to: #1597
This commit is contained in:
@@ -19,6 +19,7 @@ import (
|
||||
// Ace(AssetFile(), ".ace") for embedded data.
|
||||
func Ace(fs interface{}, extension string) *HTMLEngine {
|
||||
s := HTML(fs, extension)
|
||||
s.name = "Ace"
|
||||
|
||||
funcs := make(map[string]interface{}, 0)
|
||||
|
||||
@@ -59,5 +60,6 @@ func Ace(fs interface{}, extension string) *HTMLEngine {
|
||||
|
||||
return t.Lookup(name).Tree.Root.String(), nil
|
||||
}
|
||||
|
||||
return s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user