forked from hyperturtle/Stache
-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.html
41 lines (41 loc) · 809 Bytes
/
template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="{{base}}/lib/test.css" >
{{#styles}}
<link rel="stylesheet" href="{{name}}" >
{{/styles}}
</head>
<body>
<div>
User: Age:
{{#users}} {{first}} {{age}}{{/users}}
</div>
<div>
User: Age:
{{#users}}
<p>{{first}} {{age}}</p>
{{/users}}
</div>
<ul>
{{#list}}
<li>{{.}}</li>
{{/list}}<p>fun</p>
</ul>
<ul>
{{#list}}
<li>{{.}}</li>
{{/list}}
{{#list}}
<li>{{.}}</li>
{{/list}}{{#list}}<li>{{.}}</li>{{/list}}
</ul>
<ul>
{{#list}}<li>{{.}}</li>{{/list}}
</ul>
<script src="{{base}}/lib/test.js"></script>
{{#scripts}}
<script src="{{name}}"></script>
{{/scripts}}
</body>
</html>