mirror of
https://github.com/vale981/metalsmith-collections
synced 2025-03-05 09:21:39 -05:00
![]() Adjust the matching code to allow collections to be defined in the front matter and by pattern. Currently if you define collection in the front matter no patterns will match that file. This aides in building something like a tagging system on a blog. All posts can be matched with something like `'*.md'` or `'blog/**/*'` and then tags can be added in the individual posts `collection` front matter. |
||
---|---|---|
.. | ||
fixtures | ||
index.js |