Skip to content

Commit

Permalink
Added ignore partials to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaanon MacFarlane committed Jun 6, 2014
1 parent 9ef4366 commit 79c310b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ npm install --save-dev gulp-compile-handlebars
<h1>Hello {{firstName}}</h1>
<h2>HELLO! {{capitals firstName}}</h2>
{{> footer}}
{{> footer2}}
```

### `gulpfile.js`
Expand All @@ -34,6 +35,7 @@ gulp.task('default', function () {
firstName: 'Kaanon'
},
options = {
ignorePartials: true, //ignores the unknown footer2 partial in the handlebars template, defaults to false
partials : {
footer : '<footer>the end</footer>'
},
Expand Down

0 comments on commit 79c310b

Please sign in to comment.