{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/25","labels_url":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/25/comments","events_url":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/25/events","html_url":"https://github.com/segmentio/metalsmith-collections/pull/25","id":47997189,"number":25,"title":"Allow front matter and pattern collections.","user":{"login":"boushley","id":101239,"avatar_url":"https://avatars.githubusercontent.com/u/101239?v=3","gravatar_id":"","url":"https://api.github.com/users/boushley","html_url":"https://github.com/boushley","followers_url":"https://api.github.com/users/boushley/followers","following_url":"https://api.github.com/users/boushley/following{/other_user}","gists_url":"https://api.github.com/users/boushley/gists{/gist_id}","starred_url":"https://api.github.com/users/boushley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boushley/subscriptions","organizations_url":"https://api.github.com/users/boushley/orgs","repos_url":"https://api.github.com/users/boushley/repos","events_url":"https://api.github.com/users/boushley/events{/privacy}","received_events_url":"https://api.github.com/users/boushley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-06T18:34:00Z","updated_at":"2015-02-07T04:47:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/segmentio/metalsmith-collections/pulls/25","html_url":"https://github.com/segmentio/metalsmith-collections/pull/25","diff_url":"https://github.com/segmentio/metalsmith-collections/pull/25.diff","patch_url":"https://github.com/segmentio/metalsmith-collections/pull/25.patch"},"body":"Adjust the matching code to allow collections to be defined in the front matter and by pattern.\r\n\r\nCurrently if you define collection in the front matter no patterns will match that file.\r\n\r\nThis aides in building something like a tagging system on a blog. All posts can be matched\r\nwith something like `'*.md'` or `'blog/**/*'` and then tags can be added in the individual\r\nposts `collection` front matter."},"comment":{"url":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/comments/73349829","html_url":"https://github.com/segmentio/metalsmith-collections/pull/25#issuecomment-73349829","issue_url":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/25","id":73349829,"user":{"login":"dominicbarnes","id":160197,"avatar_url":"https://avatars.githubusercontent.com/u/160197?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicbarnes","html_url":"https://github.com/dominicbarnes","followers_url":"https://api.github.com/users/dominicbarnes/followers","following_url":"https://api.github.com/users/dominicbarnes/following{/other_user}","gists_url":"https://api.github.com/users/dominicbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicbarnes/subscriptions","organizations_url":"https://api.github.com/users/dominicbarnes/orgs","repos_url":"https://api.github.com/users/dominicbarnes/repos","events_url":"https://api.github.com/users/dominicbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/dominicbarnes/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T04:47:05Z","updated_at":"2015-02-07T04:47:05Z","body":"I'd like to see this merged in, sorry I've broken the branch after merging other PRs. @boushley could you take a look at refactoring this? It'll help me get it merged faster. Thanks!"}}