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

move the template engines manager to the iris-contrib/template

This commit is contained in:
Makis Maropoulos
2016-07-13 14:54:56 +03:00
parent f7a782b692
commit 74aeb081ee
3 changed files with 16 additions and 299 deletions

View File

@@ -6,7 +6,7 @@ import (
)
var (
// Charset character encoding for template rendering
// Charset character encoding for various rendering
Charset = "UTF-8"
)
@@ -20,14 +20,4 @@ var (
//
// Defaults to iris-fasthttp.gz
CompressedFileSuffix = "iris-fasthttp.gz"
// ContentTypeHTML defaults to text/html but you can change it, changes the template's content type also
ContentTypeHTML = "text/html"
)
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"
)