Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Engine = templ{false, []string{".p2"}}
Engine is a TemplateEngine that uses github.com/flosch/pongo2. The extension is .p2
Functions ¶
func New ¶
func New(exts ...string) dirtempl.TemplateEngine
New returns a TemplateEngine that uses github.com/flosch/pongo2. Unless specified in exts it does not handle the .p2 extension. You should probably use Engine.
func NewBuffered ¶
func NewBuffered(exts ...string) dirtempl.TemplateEngine
NewBuffered returns a TemplateEngine that uses a buffered version of github.com/flosch/pongo2. Unless specified in exts it does not handle the .p2 extension.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.