dot-files/example.mustache
Buddy Sandidge 1a9b6d1c2a Squashed 'vim/bundle/mustache/' content from commit 0c3900b42
git-subtree-dir: vim/bundle/mustache
git-subtree-split: 0c3900b42a81ec79885cf984ad33b2280697c7c9
2014-02-19 22:11:14 -08:00

51 lines
1.1 KiB
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>
{{title}}
</title>
{{!}}
</head>
<body>
<div id="main">
<h1>Mustache Showdown</h1>
Basic mustache {{hello}}
{{ hello}}, {{hello }} and {{ hello }} are OK
<de>{{d d d}}
{{Everything will be hilighted here}}
Mustaches hilighted in
<span class="color:{{awesome_color}};font-size:1.2em">attribute value</span>
{{#repo}}
This is an mustache [enumerable] section
<li>{{ name }}</li>
{{/repo}}
You can {{{yield}}} here
{{! <> this is a comment TODO:}}
This is a partial {{> partial1 }}
Yet another partial {{< partial2 }}, for ctemplate
{{=<% %>=}}Sorry, cusomized delimiter not handled yet<%={{}}=%>
{{#if some_helper}}
And here is an example of handlebars if...
{{else}}
... with optional else added. Try matchit `%` command over if/else/if.
{{/if}}
Thanks goes to {{@defunkt}}
Feedback/blames go to {{@juvenn}}
{{Frustrations}} go to /dev/null
</div>
</body>
</html>