Andrew Goodricke
8c36d634bd
Multimatch: Added
...
Updated:
- Packages
- Unit tests
- Documentation
- To use npm scripts - npm test will run tests
2016-10-29 19:25:41 -03:00
Ricardo Gladwell
8163c4e62f
Added file name data to collection items
...
Adds a `file` property to the collection item's data which contains the
file name of the generated file. For example, this can be used in
templates to create links.
Includes test case.
2016-02-14 11:29:20 +00:00
Dominic Barnes
0d84c978ba
Merge pull request #25 from boushley/master
...
Allow front matter and pattern collections.
2015-02-07 12:38:44 -08:00
Aaron Boushley
ee4ddb98b7
Allow front matter and pattern collections.
...
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.
2015-02-07 09:21:30 -08:00
Damien Pobel
0287767bd9
Added the ability to limit the size of a collection
2015-02-07 14:18:55 +01:00
Dominic Barnes
be95d2b0bd
Merge pull request #21 from mikestopcontinues/refer-false
...
add ability to disable next/previous references with opts[key].refer === false
2015-02-06 20:44:36 -08:00
David Knezic
86509b0ad3
Allow collections through metadata alone
2014-10-13 12:55:10 +02:00
Mike Stop Continues
f0fe56bc05
add ability to disable next/previous references with opts[key].refer === false
2014-08-30 00:02:15 -04:00
Anthony Short
6df36fffe1
Fixed tests
2014-08-12 14:12:39 -07:00
Anthony Short
fd451bf4d9
Added the ability to add metadata to collections
2014-07-29 15:45:15 -07:00
Hunter Loftis
ffdb548c9d
test and implementation for empty collections
2014-05-05 14:27:31 -07:00
Ian Storm Taylor
d1806abe0c
add sort by function
2014-03-25 14:15:52 -07:00
Ian Storm Taylor
6ed0b022b2
0.3.0
...
* add `collection` property to each file for pattern matches
2014-03-24 14:00:58 -07:00
Ian Storm Taylor
bd1d662b25
add collections dictionary to global metadata
2014-03-20 16:50:16 -07:00
Ian Storm Taylor
f573929416
add shorthand for pattern matching
2014-03-06 14:40:19 -08:00
Ian Storm Taylor
97d1d86bf5
add matching by pattern, fixes #2
2014-03-06 14:33:37 -08:00
Ian Storm Taylor
61e8332061
add next and previous references, fixes #1
2014-03-06 14:18:23 -08:00
Ian Storm Taylor
dc2f5f1994
cleanup
2014-02-05 18:39:44 -08:00
Ian Storm Taylor
478483da11
first commit
2014-02-05 15:06:46 -08:00