clean up of files and fixed docs
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "Francesco",
|
||||
"fruits": ["Orange", "Peach", "Mango"],
|
||||
"chocolate": false
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>TinyTemplate example</title>
|
||||
</head>
|
||||
<body>
|
||||
<a>Hello, my name is {{name}} and my favourite fruits are:</a>
|
||||
<ul>
|
||||
{% for fruit in fruits %}
|
||||
<li>{{fruit}}</li>
|
||||
{% end %}
|
||||
</ul>
|
||||
{% if chocolate %}
|
||||
<a>but I also like chocolate!</a>
|
||||
{% else %}
|
||||
<a>and I do NOT like chocolate!</a>
|
||||
{% end %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user