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

using both pattern: and metadata at the same time? #32

Closed
patdavid opened this issue Mar 30, 2015 · 2 comments
Closed

using both pattern: and metadata at the same time? #32

patdavid opened this issue Mar 30, 2015 · 2 comments

Comments

@patdavid
Copy link
Contributor

I seem to be having a simple problem. If I use only a pattern to describe a collection, it works fine:

article: {
pattern: 'articles/*/index.html'
...}

If I simple use the metadata, it works fine as well,

article: {
sortBy: 'date',
reverse: true}

If I try to use the pattern, when there is a metadata key in the front-matter, I get errors...

Can we not use both a pattern and metadata at the same time, or is it an either/or proposition?

@boushley
Copy link

I got this PR #25 landed which should allow this to work.

What is the error you're seeing?

@webketje
Copy link
Member

AFAIK this already works

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

3 participants