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
I'm trying to use the index option to specify a custom index.html template. However it doesn't appear to be picking this up.
index
index.html
My config:
// Pattern library patternprimer: { options: { wwwroot: 'prototype', src: 'prototype/source/patterns', dest: 'prototype/build', css: ['source/css/master.css'], index: 'prototype/source/index.html' }, live: { ports: [7020, 7030], }, snapshot: { snapshot: true } },
I believe you are using index and frame interchangeably which could be the issue.
frame
https://github.com/asciidisco/grunt-patternprimer/blob/master/tasks/patternprimer.js#L147
In addition the replacement of {{css}} with a css file doesn't work on custom index.html templates either.
{{css}}
The text was updated successfully, but these errors were encountered:
a2a3c6b
Fixed in v.0.1.1, al your observations where correct by the way. Thanks for pointing this out in so much details.
Sorry, something went wrong.
@asciidisco Not a problem at all. Glad you managed to get this fixed. Great work!
No branches or pull requests
I'm trying to use the
index
option to specify a customindex.html
template. However it doesn't appear to be picking this up.My config:
I believe you are using
index
andframe
interchangeably which could be the issue.https://github.com/asciidisco/grunt-patternprimer/blob/master/tasks/patternprimer.js#L147
In addition the replacement of
{{css}}
with a css file doesn't work on customindex.html
templates either.The text was updated successfully, but these errors were encountered: