1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-27 14:57:05 +00:00

use jet v5.0.2 (no breaking changes)

relative to: https://github.com/kataras/iris/pull/1616
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-09-10 10:12:06 +03:00
parent 62d1185d25
commit 333be428c4
6 changed files with 15 additions and 12 deletions

View File

@@ -539,7 +539,7 @@ var dirOpts = iris.DirOptions{
}
```
- Update jet parser to v4.0.2, closes [#1551](https://github.com/kataras/iris/issues/1551). It contains two breaking changes by its author:
- Update jet parser to v5.0.2, closes [#1551](https://github.com/kataras/iris/issues/1551). It contains two breaking changes by its author:
- Relative paths on `extends, import, include...` tmpl functions, e.g. `{{extends "../layouts/application.jet"}}` instead of `layouts/application.jet`
- the new [jet.Ranger](https://github.com/CloudyKit/jet/pull/165) interface now requires a `ProvidesIndex() bool` method too
- Example has been [updated](https://github.com/kataras/iris/tree/master/_examples/view/template_jet_0)