github.com/cheikhshift/buffalo@v0.9.5/render/options.go (about) 1 package render 2 3 import "github.com/gobuffalo/packr" 4 5 // Helpers to be included in all templates 6 type Helpers map[string]interface{} 7 8 // Options for render.Engine 9 type Options struct { 10 // HTMLLayout is the default layout to be used with all HTML renders. 11 HTMLLayout string 12 13 // TemplatesBox is the location of the templates directory on disk. 14 TemplatesBox packr.Box 15 16 // AssetsBox is the location of the public assets the app will serve. 17 AssetsBox packr.Box 18 19 // Helpers to be rendered with the templates 20 Helpers Helpers 21 22 // TemplateEngine to be used for rendering HTML templates 23 TemplateEngine TemplateEngine 24 }