1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 20:41:57 +00:00

builtin html template functions changes

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-12-13 01:37:15 +02:00
parent abeae40e60
commit 1ea5cd58be
115 changed files with 472 additions and 230 deletions

View File

@@ -7,6 +7,6 @@
<h1>This is the global layout</h1>
<br />
<!-- Render the current template here -->
{{ yield }}
{{ yield . }}
</body>
</html>

View File

@@ -7,6 +7,6 @@
<h1>This is the layout for the /my/ and /my/other routes only</h1>
<br />
<!-- Render the current template here -->
{{ yield }}
{{ yield . }}
</body>
</html>

View File

@@ -2,6 +2,6 @@
<h1>Page 1 {{ greet "iris developer"}}</h1>
{{ render "partials/page1_partial1.html"}}
{{ render "partials/page1_partial1.html" . }}
</div>