Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

Commit

Permalink
Add sample page and template to generator.
Browse files Browse the repository at this point in the history
This is a sample implementation of a handlebar
template and page that gets generated as HTML
through the new static site generator used to
target #123.
  • Loading branch information
anselmh committed Jan 15, 2015
1 parent e67cd4c commit c8dede5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion grunt/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ module.exports = {
},
options: {
partialsglob: 'pages/partials/*.html',
templates: 'templates',
templates: 'src/templates',
environment: 'dev'
}
}
Expand Down
8 changes: 8 additions & 0 deletions src/pages/test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"title" : "Test Title"
}
---

## Headline

This is a test of how the markdown file works with the grunt-generator.
4 changes: 3 additions & 1 deletion src/templates/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
<p>Hello world! This is INIT.</p>
<h1>{{title}}</h1>

{{body}}

0 comments on commit c8dede5

Please sign in to comment.