mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 18:37:05 +00:00
add 'iris.Blocks' template engine
read more about its features at: https://github.com/kataras/blocks
This commit is contained in:
@@ -108,7 +108,8 @@ type DjangoEngine struct {
|
||||
|
||||
var _ Engine = (*DjangoEngine)(nil)
|
||||
|
||||
// Django creates and returns a new amber view engine.
|
||||
// Django creates and returns a new django view engine.
|
||||
// The given "extension" MUST begin with a dot.
|
||||
func Django(directory, extension string) *DjangoEngine {
|
||||
s := &DjangoEngine{
|
||||
directory: directory,
|
||||
|
||||
Reference in New Issue
Block a user