forked from mustache/mustache.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
138 lines (127 loc) · 5.46 KB
/
index.html
File metadata and controls
138 lines (127 loc) · 5.46 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<!--
_ _
_____*~~~ ** ~~~*_____
__* ___ |\__/| ___ *__
_* / 888~~\__(8OO8)__/~~888 \ *_
_* /88888888888888888888888888\ *_
* |8888888888888888888888888888| *
/~* \8888/~\88/~\8888/~\88/~\8888/ *~
/ ~* \88/ \/ (88) \/ \88/ *~
/ ~* \/ \/ \/ *~
/ ~~*_ _*~~/
/ ~~~~~*___ ** ___*~~~~~ /
/ ~ ~ /
/ /
/ /
/ /
/ t__n__r__ /
/ | ####### |
/ ___ | ####### | ____i__ /
/ _____p_____l_l____ | ####### | | ooooo | qp
i__p__ / | ############## | | ####### |__l___xp____| ooooo | |~~~~|
oooo |_I_| ############## | | ####### |oo%Xoox%ooxo| ooooo |p__h__|##%#|
oooo |ooo| ############## | | ####### |o%xo%%xoooo%| ooooo | |#xx%|
oooo |ooo| ############## | | ####### |o%ooxx%ooo%%| ooooo |######|x##%|
oooo |ooo| ############## | | ####### |oo%%x%oo%xoo| ooooo |######|##%x|
oooo |ooo| ############## | | ####### |%x%%oo%/oo%o| ooooo |######|/#%x|
oooo |ooo| ############## | | ####### |%%x/oo/xx%xo| ooooo |######|#%x/|
oooo |ooo| ############## | | ####### |xxooo%%/xo%o| ooooo |######|#^x#|
oooo |ooo| ############## | | ####### |oox%%o/x%%ox| ooooo |~~~$~~|x##/|
oooo |ooo| ############## | | ####### |x%oo%x/o%//x| ooooo |_KKKK_|#x/%|
ooo~\|ooo|~\############## | ~\####### |oox%xo%%oox%~\ooooo |_|~|~\|xx%/|
ooo ||oHo| |####AAAA###### |h||##XX### |x%x%WWx%%/ox||ooDoo |_| |Y||xGGx|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~
-->
<html>
<head>
<title>{{ mustache }}</title>
<link href="burt.css" media="screen" rel="stylesheet" type="text/css" />
<link href="extras/highlight.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<span id="logo">}</span>
<div id="content">
<p>Logic-less templates.</p>
<p>
Available in
<a href="http://github.com/defunkt/mustache">Ruby</a>,
<a href="https://github.com/janl/mustache.js">JavaScript</a>,
<a href="https://github.com/defunkt/pystache">Python</a>,
<a href="https://github.com/mojombo/mustache.erl">Erlang</a>,
<a href="https://github.com/bobthecow/mustache.php">PHP</a>,
<a href="https://github.com/pvande/Template-Mustache">Perl</a>,
<a href="https://github.com/groue/GRMustache">Objective-C</a>,
<a href="https://github.com/spullara/mustache.java">Java</a>,
<a href="https://github.com/jdiamond/Nustache">.NET</a>,
<a href="https://github.com/samskivert/jmustache">Android</a>,
<a href="https://github.com/mrtazz/plustache">C++</a>,
<a href="https://github.com/hoisie/mustache.go/">Go</a>,
<a href="https://github.com/nrk/hige">Lua</a>,
<a href="https://github.com/joshthecoder/mustang">ooc</a>,
<a href="https://github.com/hyakugei/mustache.as">ActionScript</a>,
<a href="https://github.com/pmcelhaney/Mustache.cfc">ColdFusion</a>,
<a href="https://github.com/scalate/scalate">Scala</a>,
<a href="https://github.com/fhd/clostache">Clojure</a>,
<a href="https://github.com/vspy/mustache">Fantom</a>,
<a href="https://github.com/pvande/Milk">CoffeeScript</a>,
<a href="https://github.com/repeatedly/mustache4d">D</a>,
and for
<a href="https://github.com/raycmorgan/Mu">node.js</a>.
</p>
<p>
Works great with
<a href="http://gist.github.com/323624">TextMate</a>,
<a href="http://gist.github.com/323622">Vim</a>,
<a href="http://gist.github.com/323619">Emacs</a>,
and
<a href="http://github.com/bobthecow/Mustache.mode">Coda</a>.
</p>
<p>
The Manual:
<a href="mustache.5.html">mustache(5)</a>
and
<a href="mustache.1.html">mustache(1)</a>
</p>
<p>
<a id="demo" href="#demo">Demo</a>
</p>
<div id="demo-box" style="display:none;">
<label>Mustache</label>
<textarea class="template">
<h1>{{header}}</h1>
{{#bug}}
{{/bug}}
{{#items}}
{{#first}}
<li><strong>{{name}}</strong></li>
{{/first}}
{{#link}}
<li><a href="{{url}}">{{name}}</a></li>
{{/link}}
{{/items}}
{{#empty}}
<p>The list is empty.</p>
{{/empty}}
</textarea>
<label>JSON <small>(try setting empty to true)</small></label>
<textarea class="json">{
"header": "Colors",
"items": [
{"name": "red", "first": true, "url": "#Red"},
{"name": "green", "link": true, "url": "#Green"},
{"name": "blue", "link": true, "url": "#Blue"}
],
"empty": false
}</textarea>
<p><input type="button" class="run" value="Render Template"/></p>
<label>HTML</label>
<pre class="html sh_html"></pre>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="extras/mustache.js"></script>
<script src="extras/highlight.js"></script>
<script src="tom.js"></script>
</body>
</html>