mirror of
https://github.com/kataras/iris.git
synced 2025-03-21 14:56:26 +01:00
gofmt
Former-commit-id: 75992b3aeae2228a7a7f0e698ce78b2f323cc33a
This commit is contained in:
parent
3dc3fa10ee
commit
d451335aa2
|
@ -11,7 +11,7 @@ func main() {
|
|||
// TIP: append .Reload(true) to reload the templates on each request.
|
||||
|
||||
app.Get("/home", func(ctx iris.Context) {
|
||||
ctx.ViewData("title", "Home page");
|
||||
ctx.ViewData("title", "Home page")
|
||||
ctx.View("home.html")
|
||||
// Note that: you can pass "layout" : "otherLayout.html" to bypass the config's Layout property
|
||||
// or view.NoLayout to disable layout on this render action.
|
||||
|
|
Loading…
Reference in New Issue
Block a user