1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-24 05:17:03 +00:00

add an app.View example for parsing and writing templates outside of the HTTP scope(context.View)

Former-commit-id: e65d8ece521c778dedf45cf2f522383c26b9901b
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-01-22 15:42:19 +02:00
parent 68acbf3f31
commit 4b4dbb04af
7 changed files with 79 additions and 8 deletions

View File

@@ -0,0 +1,6 @@
<h1>{{.Title}}</h1>
<p class="body">
{{yield}}
</p>
<a href="{{.RefLink}}" target="_new">{{.RefTitle}}</a>