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

Commit c8dede5

Browse files
committed
Add sample page and template to generator.
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.
1 parent e67cd4c commit c8dede5

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

grunt/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ module.exports = {
104104
},
105105
options: {
106106
partialsglob: 'pages/partials/*.html',
107-
templates: 'templates',
107+
templates: 'src/templates',
108108
environment: 'dev'
109109
}
110110
}

src/pages/test.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"title" : "Test Title"
3+
}
4+
---
5+
6+
## Headline
7+
8+
This is a test of how the markdown file works with the grunt-generator.

src/templates/index.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
<p>Hello world! This is INIT.</p>
1+
<h1>{{title}}</h1>
2+
3+
{{body}}

0 commit comments

Comments
 (0)