Skip to content
New issue

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

Index option fails #3

Closed
getdave opened this issue Jan 17, 2014 · 2 comments
Closed

Index option fails #3

getdave opened this issue Jan 17, 2014 · 2 comments

Comments

@getdave
Copy link

getdave commented Jan 17, 2014

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.

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.

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.

@asciidisco
Copy link
Owner

Fixed in v.0.1.1, al your observations where correct by the way.
Thanks for pointing this out in so much details.

@getdave
Copy link
Author

getdave commented Mar 8, 2014

@asciidisco Not a problem at all. Glad you managed to get this fixed. Great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants