Skip to content

Commit

Permalink
Allow subfolders for partials
Browse files Browse the repository at this point in the history
  • Loading branch information
renatodeleao committed Oct 6, 2016
1 parent fc2fbe7 commit e3d2eda
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,18 @@ export function scripts() {
.pipe(gulp.dest(paths.scripts.dest));
}


/*
* Static sites like a bauss using Panini by Zurb
*
* repo: https://github.com/zurb/panini
*/
export function views() {
return gulp.src(paths.views.src + 'pages/**/*.html' )
.pipe(panini({
root: paths.views.src + 'pages/',
layouts: paths.views.src + 'layouts/',
partials: paths.views.src + 'partials/',
partials: paths.views.src + 'partials/**/',
helpers: paths.views.src + 'helpers/',
data: paths.views.src + 'data/'
}))
Expand Down

0 comments on commit e3d2eda

Please sign in to comment.