iris/_examples/intermediate/view/context-view-data/templates/layouts/layout.html
Gerasimos (Makis) Maropoulos 57576c70cb 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
2017-03-28 07:53:57 +03:00

11 lines
134 B
HTML

<html>
<head>
<title>My WebsiteLayout</title>
</head>
<body>
<!-- Render the current template here -->
{{ yield }}
</body>
</html>