1
0
mirror of https://github.com/kataras/iris.git synced 2026-03-05 16:05:58 +00:00

Implement a new View Engine for the Jet template parser as requested at: https://github.com/kataras/iris/issues/1281

Former-commit-id: 3e00bdfbf1f3998a1744c390c12fd70430ac0320
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-06-22 21:34:19 +03:00
parent b71d4032e6
commit 076d9121f1
22 changed files with 1124 additions and 40 deletions

13
iris.go
View File

@@ -286,20 +286,23 @@ func (app *Application) Logger() *golog.Logger {
var (
// HTML view engine.
// Conversion for the view.HTML.
// Shortcut of the kataras/iris/view.HTML.
HTML = view.HTML
// Django view engine.
// Conversion for the view.Django.
// Shortcut of the kataras/iris/view.Django.
Django = view.Django
// Handlebars view engine.
// Conversion for the view.Handlebars.
// Shortcut of the kataras/iris/view.Handlebars.
Handlebars = view.Handlebars
// Pug view engine.
// Conversion for the view.Pug.
// Shortcut of the kataras/iris/view.Pug.
Pug = view.Pug
// Amber view engine.
// Conversion for the view.Amber.
// Shortcut of the kataras/iris/view.Amber.
Amber = view.Amber
// Jet view engine.
// Shortcut of the kataras/iris/view.Jet.
Jet = view.Jet
)
// NoLayout to disable layout for a particular template file