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:
6
_examples/view/write-to/views/shared/email.html
Normal file
6
_examples/view/write-to/views/shared/email.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<h1>{{.Title}}</h1>
|
||||
<p class="body">
|
||||
{{yield}}
|
||||
</p>
|
||||
|
||||
<a href="{{.RefLink}}" target="_new">{{.RefTitle}}</a>
|
||||
Reference in New Issue
Block a user