mirror of
https://github.com/kataras/iris.git
synced 2026-01-24 12:25:57 +00:00
reorganization of _examples and add some new examples such as iris+groupcache+mysql+docker
Former-commit-id: ed635ee95de7160cde11eaabc0c1dcb0e460a620
This commit is contained in:
12
_examples/view/quicktemplate/templates/index.qtpl
Normal file
12
_examples/view/quicktemplate/templates/index.qtpl
Normal file
@@ -0,0 +1,12 @@
|
||||
Index template, implements the Partial's methods.
|
||||
|
||||
{% code
|
||||
type Index struct {}
|
||||
%}
|
||||
|
||||
{% func (i *Index) Body() %}
|
||||
<h1>Index Page</h1>
|
||||
<div>
|
||||
This is our index page's body.
|
||||
</div>
|
||||
{% endfunc %}
|
||||
Reference in New Issue
Block a user