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:
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user