We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On the page and section https://foundation.zurb.com/sites/docs/panini.html#custom-data is explained how to implement global vars. I followed these steps, but didn't get it to work. After some research is saw i need to update the gulp file.
from:
function pages() { return gulp.src(['src/pages/**/*.html', '!src/pages/archive/**/*.html']) .pipe(panini({ root: 'src/pages', layouts: 'src/layouts', partials: 'src/partials', helpers: 'src/helpers' })) .pipe(inky()) .pipe(gulp.dest('dist')); }
into:
function pages() { return gulp.src(['src/pages/**/*.html', '!src/pages/archive/**/*.html']) .pipe(panini({ root: 'src/pages', layouts: 'src/layouts', partials: 'src/partials', helpers: 'src/helpers', data: 'src/data' })) .pipe(inky()) .pipe(gulp.dest('dist')); }
Please add this to the docs, for other people trying to work with this.
Regards, Raymond
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On the page and section https://foundation.zurb.com/sites/docs/panini.html#custom-data is explained how to implement global vars. I followed these steps, but didn't get it to work. After some research is saw i need to update the gulp file.
from:
into:
Please add this to the docs, for other people trying to work with this.
Regards,
Raymond
The text was updated successfully, but these errors were encountered: