mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
Add an example for httprouter_test, gofmt everything and misspel fixes.
Former-commit-id: e69ffdf9bba4c7e8c3df45c015b3363cc3fc59b6
This commit is contained in:
@@ -32,7 +32,7 @@ func Handlebars(directory string, extension string) *HandlebarsAdaptor {
|
||||
// and optionally {{partial/partial_r/render}} to render other template files like headers and footers
|
||||
//
|
||||
// The 'tmplLayoutFile' is a relative path of the templates base directory,
|
||||
// for the template file whith its extension.
|
||||
// for the template file with its extension.
|
||||
//
|
||||
// Example: Handlebars("./templates", ".html").Layout("layouts/mainLayout.html")
|
||||
// // mainLayout.html is inside: "./templates/layouts/".
|
||||
|
||||
Reference in New Issue
Block a user