1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-10 13:35:59 +00:00

Embrace the feature request for per-party layout https://github.com/kataras/iris/issues/180

This commit is contained in:
Makis Maropoulos
2016-06-14 20:29:01 +03:00
parent d837381b16
commit 6a77c2ed22
3 changed files with 29 additions and 4 deletions

View File

@@ -31,6 +31,8 @@ const (
// NoLayout to disable layout for a particular template file
NoLayout = "@.|.@iris_no_layout@.|.@"
// TemplateLayoutContextKey is the name of the user values which can be used to set a template layout from a middleware and override the parent's
TemplateLayoutContextKey = "templateLayout"
)
var (