mirror of
https://github.com/kataras/iris.git
synced 2026-01-25 04:45:57 +00:00
New: i18n pluralization and variables support and more...
fixes: #1649, #1648, #1641, #1650 relative to: #1597
This commit is contained in:
@@ -48,6 +48,11 @@ func Blocks(fs interface{}, extension string) *BlocksEngine {
|
||||
return WrapBlocks(blocks.New(fs).Extension(extension))
|
||||
}
|
||||
|
||||
// Name returns the blocks engine's name.
|
||||
func (s *BlocksEngine) Name() string {
|
||||
return "Blocks"
|
||||
}
|
||||
|
||||
// RootDir sets the directory to use as the root one inside the provided File System.
|
||||
func (s *BlocksEngine) RootDir(root string) *BlocksEngine {
|
||||
s.Engine.RootDir(root)
|
||||
|
||||
Reference in New Issue
Block a user