diff options
| author | Joshua Peek <josh@joshpeek.com> | 2012-12-10 07:06:59 -0800 |
|---|---|---|
| committer | Joshua Peek <josh@joshpeek.com> | 2012-12-10 07:06:59 -0800 |
| commit | 281cc985bfa9864f2cc06923fde2bbadf04f8302 (patch) | |
| tree | 44fa2837b7ee27fd72441a993a5f09edcd15d892 /samples/Handlebars/each.hbs | |
| parent | dcc2be078110d2d2a8919fad693557e9f80233c5 (diff) | |
| parent | 0e20f6d454c7151a06122c7d64124a5e424f40e0 (diff) | |
Merge pull request #288 from wagenet/handlebars
Add Handlebars
Diffstat (limited to 'samples/Handlebars/each.hbs')
| -rw-r--r-- | samples/Handlebars/each.hbs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/samples/Handlebars/each.hbs b/samples/Handlebars/each.hbs new file mode 100644 index 0000000..b75afa6 --- /dev/null +++ b/samples/Handlebars/each.hbs @@ -0,0 +1,11 @@ +<div class="post"> + <h1>By {{fullName author}}</h1> + <div class="body">{{body}}</div> + + <h1>Comments</h1> + + {{#each comments}} + <h2>By {{fullName author}}</h2> + <div class="body">{{body}}</div> + {{/each}} +</div> |
