mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 04:51:56 +00:00
context.ViewData(key,value) and ViewLayout(layout) http://support.iris-go.com/d/27-using-middleware-to-inject-properties-for-templates/3
Nothing that you couldn't do before. Former-commit-id: 658ec25d8045d25a76f87c8f992e67e64006e287
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>My WebsiteLayout</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<!-- Render the current template here -->
|
||||
{{ yield }}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user