Last active
May 4, 2017 17:52
-
-
Save giancorzo/b0f314cf67c076ceda8e058ef159fe9f to your computer and use it in GitHub Desktop.
Client side templating
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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