Skip to content

Commit

Permalink
fix handlebars context not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
hariadi committed Mar 17, 2014
1 parent f05301e commit fd2e44d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
4 changes: 2 additions & 2 deletions app/templates/_layouts/handlebars-default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ <h2>Blog Posts</h2>

{{#if articles }}
{{#each articles }}
<h2><a href="{{ article.path }}/index.html">{{ article.title }}</a></h2>
<time>{{ article.date }}</time>
<h2><a href="{{ path }}/index.html">{{ title }}</a></h2>
<time>{{ date }}</time>
{{/each}}
{{/if}}

Expand Down
12 changes: 0 additions & 12 deletions app/templates/_layouts/handlebars.html

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-metalsmith",
"version": "0.2.0",
"version": "0.2.1",
"homepage": "https://github.com/hariadi/generator-metalsmith",
"description": "Yeoman generator for Metalsmith",
"author": {
Expand Down

0 comments on commit fd2e44d

Please sign in to comment.