mirror of
https://github.com/kataras/iris.git
synced 2025-12-24 05:17:03 +00:00
update Blocks module
This commit is contained in:
@@ -8,6 +8,7 @@ func main() {
|
||||
// Note, in Blocks engine, layouts
|
||||
// are used by their base names, the
|
||||
// blocks.LayoutDir(layoutDir) defaults to "./layouts".
|
||||
// .Blocks(...).Layout("main") for default layout for all views, it can be modified through ctx.ViewLayout though.
|
||||
|
||||
app.Get("/", index)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user