mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 12:31:58 +00:00
Add some _examples in the main repository too.
Former-commit-id: 98895c34115ec2076b431332f0ffe9645adf7590
This commit is contained in:
10
_examples/examples/templates/mytemplates/todos.html
Normal file
10
_examples/examples/templates/mytemplates/todos.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<h1>Todos</h1>
|
||||
<ul>
|
||||
{{range .Todos}}
|
||||
{{if .Done}}
|
||||
<li><s>{{.Task}}</s></li>
|
||||
{{else}}
|
||||
<li>{{.Task}}</li>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user