mirror of
https://github.com/kataras/iris.git
synced 2025-12-23 21:07:03 +00:00
New: i18n pluralization and variables support and more...
fixes: #1649, #1648, #1641, #1650 relative to: #1597
This commit is contained in:
@@ -22,6 +22,7 @@ func main() {
|
||||
// the .Name inside the ./templates/hi.html.
|
||||
ctx.ViewData("Name", "iris")
|
||||
// render the template with the file name relative to the './templates'.
|
||||
// file extension is OPTIONAL.
|
||||
ctx.View("hi.html")
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user