Skip to content

Instantly share code, notes, and snippets.

@paul
Last active May 5, 2016 11:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paul/10917934 to your computer and use it in GitHub Desktop.
Save paul/10917934 to your computer and use it in GitHub Desktop.
<section>
<h1>{{title}}</h1>
<p>{{text}}</p>
</section>
{
"title": "Example Dashboard",
"sections": [
{ "title": "Something", "list": [1, 2, 3],
"template_path": "/gh/gist/response.json/10917934/"
},
{ "title": "Something Else", "text": "Lorem Ipsum",
"template_path": "/gh/gist/response.html/10917934/"
}
]
}
<section>
<h1>{{title}}</h1>
<ol>
{{#each list}}
<li>{{this}}</li>
{{/each}}
</ol>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment