Skip to content

Instantly share code, notes, and snippets.

@pdeschen
Created May 15, 2011 21:49
Show Gist options
  • Save pdeschen/973578 to your computer and use it in GitHub Desktop.
Save pdeschen/973578 to your computer and use it in GitHub Desktop.
mustache template
<h1>{{header}}</h1>
{{#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}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment