Skip to content

Instantly share code, notes, and snippets.

@giancorzo
Last active May 4, 2017 17:52
Show Gist options
  • Save giancorzo/b0f314cf67c076ceda8e058ef159fe9f to your computer and use it in GitHub Desktop.
Save giancorzo/b0f314cf67c076ceda8e058ef159fe9f to your computer and use it in GitHub Desktop.
Client side templating
<div id="entries"></div>
<script id="entry-template" type="text/x-handlebars-template">
<div class="entry">
<h1>{{title}}</h1>
<div class="body">
{{body}}
</div>
</div>
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment