{"action":"closed","number":25,"pull_request":{"url":"https://api.github.com/repos/segmentio/metalsmith-collections/pulls/25","id":24001981,"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","issue_url":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/25","number":25,"state":"closed","locked":false,"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},"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.","created_at":"2014-11-06T18:34:00Z","updated_at":"2015-02-07T20:38:44Z","closed_at":"2015-02-07T20:38:44Z","merged_at":"2015-02-07T20:38:44Z","merge_commit_sha":"c7f23ea1b002a4d147aeafb7544884343a244221","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/segmentio/metalsmith-collections/pulls/25/commits","review_comments_url":"https://api.github.com/repos/segmentio/metalsmith-collections/pulls/25/comments","review_comment_url":"https://api.github.com/repos/segmentio/metalsmith-collections/pulls/comments/{number}","comments_url":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/25/comments","statuses_url":"https://api.github.com/repos/segmentio/metalsmith-collections/statuses/ee4ddb98b7dfcd49f297335cfdf2222a21049f4c","head":{"label":"boushley:master","ref":"master","sha":"ee4ddb98b7dfcd49f297335cfdf2222a21049f4c","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},"repo":{"id":26283437,"name":"metalsmith-collections","full_name":"boushley/metalsmith-collections","owner":{"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},"private":false,"html_url":"https://github.com/boushley/metalsmith-collections","description":"A Metalsmith plugin that groups files together into collections, which it adds to the global metadata.","fork":true,"url":"https://api.github.com/repos/boushley/metalsmith-collections","forks_url":"https://api.github.com/repos/boushley/metalsmith-collections/forks","keys_url":"https://api.github.com/repos/boushley/metalsmith-collections/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boushley/metalsmith-collections/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boushley/metalsmith-collections/teams","hooks_url":"https://api.github.com/repos/boushley/metalsmith-collections/hooks","issue_events_url":"https://api.github.com/repos/boushley/metalsmith-collections/issues/events{/number}","events_url":"https://api.github.com/repos/boushley/metalsmith-collections/events","assignees_url":"https://api.github.com/repos/boushley/metalsmith-collections/assignees{/user}","branches_url":"https://api.github.com/repos/boushley/metalsmith-collections/branches{/branch}","tags_url":"https://api.github.com/repos/boushley/metalsmith-collections/tags","blobs_url":"https://api.github.com/repos/boushley/metalsmith-collections/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boushley/metalsmith-collections/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boushley/metalsmith-collections/git/refs{/sha}","trees_url":"https://api.github.com/repos/boushley/metalsmith-collections/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boushley/metalsmith-collections/statuses/{sha}","languages_url":"https://api.github.com/repos/boushley/metalsmith-collections/languages","stargazers_url":"https://api.github.com/repos/boushley/metalsmith-collections/stargazers","contributors_url":"https://api.github.com/repos/boushley/metalsmith-collections/contributors","subscribers_url":"https://api.github.com/repos/boushley/metalsmith-collections/subscribers","subscription_url":"https://api.github.com/repos/boushley/metalsmith-collections/subscription","commits_url":"https://api.github.com/repos/boushley/metalsmith-collections/commits{/sha}","git_commits_url":"https://api.github.com/repos/boushley/metalsmith-collections/git/commits{/sha}","comments_url":"https://api.github.com/repos/boushley/metalsmith-collections/comments{/number}","issue_comment_url":"https://api.github.com/repos/boushley/metalsmith-collections/issues/comments/{number}","contents_url":"https://api.github.com/repos/boushley/metalsmith-collections/contents/{+path}","compare_url":"https://api.github.com/repos/boushley/metalsmith-collections/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boushley/metalsmith-collections/merges","archive_url":"https://api.github.com/repos/boushley/metalsmith-collections/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boushley/metalsmith-collections/downloads","issues_url":"https://api.github.com/repos/boushley/metalsmith-collections/issues{/number}","pulls_url":"https://api.github.com/repos/boushley/metalsmith-collections/pulls{/number}","milestones_url":"https://api.github.com/repos/boushley/metalsmith-collections/milestones{/number}","notifications_url":"https://api.github.com/repos/boushley/metalsmith-collections/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boushley/metalsmith-collections/labels{/name}","releases_url":"https://api.github.com/repos/boushley/metalsmith-collections/releases{/id}","created_at":"2014-11-06T18:21:26Z","updated_at":"2015-02-07T17:22:10Z","pushed_at":"2015-02-07T17:22:10Z","git_url":"git://github.com/boushley/metalsmith-collections.git","ssh_url":"git@github.com:boushley/metalsmith-collections.git","clone_url":"https://github.com/boushley/metalsmith-collections.git","svn_url":"https://github.com/boushley/metalsmith-collections","homepage":"","size":119,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"segmentio:master","ref":"master","sha":"be95d2b0bd9e53789b3c4509878bb638d6699562","user":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"repo":{"id":16561966,"name":"metalsmith-collections","full_name":"segmentio/metalsmith-collections","owner":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/segmentio/metalsmith-collections","description":"A Metalsmith plugin that groups files together into collections, which it adds to the global metadata.","fork":false,"url":"https://api.github.com/repos/segmentio/metalsmith-collections","forks_url":"https://api.github.com/repos/segmentio/metalsmith-collections/forks","keys_url":"https://api.github.com/repos/segmentio/metalsmith-collections/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segmentio/metalsmith-collections/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segmentio/metalsmith-collections/teams","hooks_url":"https://api.github.com/repos/segmentio/metalsmith-collections/hooks","issue_events_url":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/events{/number}","events_url":"https://api.github.com/repos/segmentio/metalsmith-collections/events","assignees_url":"https://api.github.com/repos/segmentio/metalsmith-collections/assignees{/user}","branches_url":"https://api.github.com/repos/segmentio/metalsmith-collections/branches{/branch}","tags_url":"https://api.github.com/repos/segmentio/metalsmith-collections/tags","blobs_url":"https://api.github.com/repos/segmentio/metalsmith-collections/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segmentio/metalsmith-collections/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segmentio/metalsmith-collections/git/refs{/sha}","trees_url":"https://api.github.com/repos/segmentio/metalsmith-collections/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segmentio/metalsmith-collections/statuses/{sha}","languages_url":"https://api.github.com/repos/segmentio/metalsmith-collections/languages","stargazers_url":"https://api.github.com/repos/segmentio/metalsmith-collections/stargazers","contributors_url":"https://api.github.com/repos/segmentio/metalsmith-collections/contributors","subscribers_url":"https://api.github.com/repos/segmentio/metalsmith-collections/subscribers","subscription_url":"https://api.github.com/repos/segmentio/metalsmith-collections/subscription","commits_url":"https://api.github.com/repos/segmentio/metalsmith-collections/commits{/sha}","git_commits_url":"https://api.github.com/repos/segmentio/metalsmith-collections/git/commits{/sha}","comments_url":"https://api.github.com/repos/segmentio/metalsmith-collections/comments{/number}","issue_comment_url":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/comments/{number}","contents_url":"https://api.github.com/repos/segmentio/metalsmith-collections/contents/{+path}","compare_url":"https://api.github.com/repos/segmentio/metalsmith-collections/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segmentio/metalsmith-collections/merges","archive_url":"https://api.github.com/repos/segmentio/metalsmith-collections/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segmentio/metalsmith-collections/downloads","issues_url":"https://api.github.com/repos/segmentio/metalsmith-collections/issues{/number}","pulls_url":"https://api.github.com/repos/segmentio/metalsmith-collections/pulls{/number}","milestones_url":"https://api.github.com/repos/segmentio/metalsmith-collections/milestones{/number}","notifications_url":"https://api.github.com/repos/segmentio/metalsmith-collections/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segmentio/metalsmith-collections/labels{/name}","releases_url":"https://api.github.com/repos/segmentio/metalsmith-collections/releases{/id}","created_at":"2014-02-05T23:07:09Z","updated_at":"2015-02-07T20:38:12Z","pushed_at":"2015-02-07T20:38:44Z","git_url":"git://github.com/segmentio/metalsmith-collections.git","ssh_url":"git@github.com:segmentio/metalsmith-collections.git","clone_url":"https://github.com/segmentio/metalsmith-collections.git","svn_url":"https://github.com/segmentio/metalsmith-collections","homepage":"","size":380,"stargazers_count":22,"watchers_count":22,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":2,"forks":13,"open_issues":2,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/segmentio/metalsmith-collections/pulls/25"},"html":{"href":"https://github.com/segmentio/metalsmith-collections/pull/25"},"issue":{"href":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/25"},"comments":{"href":"https://api.github.com/repos/segmentio/metalsmith-collections/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/segmentio/metalsmith-collections/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/segmentio/metalsmith-collections/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/segmentio/metalsmith-collections/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/segmentio/metalsmith-collections/statuses/ee4ddb98b7dfcd49f297335cfdf2222a21049f4c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":2,"review_comments":0,"commits":1,"additions":22,"deletions":5,"changed_files":2}}