Commit graph

57 commits

Author SHA1 Message Date
Valentin Boettcher
bac79a2a4d Allow Objects... 2017-09-04 14:31:32 +02:00
Valentin Boettcher
db2bbbdbc2 Add Global Options 2017-08-25 17:47:36 +02:00
Andy Jiang
d30f750ed8 0.9.0 2016-11-02 12:10:29 -07:00
Andy Jiang
393f31a93a updated package.json 2016-11-01 14:57:43 -07:00
Andy Jiang
381f45a84c Merge pull request #67 from woodyrew/multimatch
Multimatch: Added
2016-11-01 14:54:38 -07:00
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
Andy Jiang
caa1c45423 Merge pull request #51 from rgladwell/filename
Added file name data to collection items
2016-02-16 09:35:40 -08: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
1bf6df0ac2 Release 0.7.0 2015-02-07 22:31:44 +00:00
Dominic Barnes
08304aac50 adding reference to the refer option 2015-02-07 14:17:23 -08: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
Dominic Barnes
e51f6080e1 Merge pull request #13 from dpobel/limit_option
Added the ability to limit the size of a collection
2015-02-07 12:38:11 -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
Dominic Barnes
7dc8a7a580 Merge pull request #24 from davidknezic/master
Allow collections through metadata alone
2015-02-06 20:43:32 -08:00
Dominic Barnes
d37546ddec Merge pull request #22 from unstoppablecarl/master
Documented collection metadata feature.
2015-02-06 20:36:31 -08:00
David Knezić
95e3bff923 Remove double tilde (~~) 2014-10-13 20:08:46 +02:00
David Knezic
0655b5223e Mention metadata-only usage in README 2014-10-13 13:09:41 +02:00
David Knezic
86509b0ad3 Allow collections through metadata alone 2014-10-13 12:55:10 +02:00
Carl Olsen
2dab226f28 added heading 2014-09-08 13:34:06 -04:00
Carl Olsen
4e61ad200c Documented collection metadata feature. 2014-09-08 13:33:15 -04: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
0f70d87931 Release 0.6.0 2014-08-12 14:17:00 -07:00
Anthony Short
1668b2a73f Merge pull request #19 from segmentio/multi-collection
Added the ability to add content to multiple collections
2014-08-12 14:15:55 -07:00
Anthony Short
6df36fffe1 Fixed tests 2014-08-12 14:12:39 -07:00
Anthony Short
8854628743 Added the ability to add content to multiple collections 2014-08-12 13:54:44 -07:00
Anthony Short
412e5ef612 Release 0.5.1 2014-08-05 10:35:59 -07:00
Anthony Short
5ae73bf90b Release 0.5.0 2014-08-04 18:31:19 -07:00
Anthony Short
c2c3937747 Merge pull request #17 from segmentio/metadata
Added the ability to add metadata to collections
2014-08-04 18:29:58 -07:00
Anthony Short
953adf8254 Updated package.json 2014-08-04 18:28:45 -07:00
Anthony Short
3907ea81cd Using load-metadata 2014-07-30 10:37:46 -07:00
Anthony Short
fd451bf4d9 Added the ability to add metadata to collections 2014-07-29 15:45:15 -07:00
Ian Storm Taylor
070cf3d75d 0.4.1
* fix empty collections
2014-05-05 14:42:06 -07:00
Ian Storm Taylor
1cb5c25616 Merge pull request #8 from hunterloftis/master
test and implementation for empty collections
2014-05-05 14:41:13 -07:00
Hunter Loftis
ffdb548c9d test and implementation for empty collections 2014-05-05 14:27:31 -07:00
Ian Storm Taylor
f700016023 0.4.0
* add option for `sortBy` to be a sorting function
2014-03-25 14:16:19 -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
dac3268d52 0.2.0
* add collections dictionary to global metadata
2014-03-20 16:50:46 -07:00
Ian Storm Taylor
bd1d662b25 add collections dictionary to global metadata 2014-03-20 16:50:16 -07:00
Ian Storm Taylor
c15a2c0ab7 Update Readme.md 2014-03-06 15:03:08 -08:00
Ian Storm Taylor
022f7be56e update readme 2014-03-06 14:53:09 -08:00
Ian Storm Taylor
f549d4a4b0 update readme 2014-03-06 14:52:52 -08:00
Ian Storm Taylor
094502b1bb update readme 2014-03-06 14:51:06 -08:00
Ian Storm Taylor
81dd81dca3 update readme 2014-03-06 14:50:46 -08:00
Ian Storm Taylor
e613b8cef7 update readme 2014-03-06 14:46:40 -08:00
Ian Storm Taylor
d8b3674c12 0.1.0
* add matching by pattern
* add shorthand for pattern matching
* add previous and next references
2014-03-06 14:46:01 -08:00
Ian Storm Taylor
3e181cedda update readme for new features 2014-03-06 14:44:56 -08:00
Ian Storm Taylor
f573929416 add shorthand for pattern matching 2014-03-06 14:40:19 -08:00