{"action":"closed","number":670,"pull_request":{"url":"https://api.github.com/repos/jekyll/jekyll/pulls/670","id":2956877,"html_url":"https://github.com/jekyll/jekyll/pull/670","diff_url":"https://github.com/jekyll/jekyll/pull/670.diff","patch_url":"https://github.com/jekyll/jekyll/pull/670.patch","issue_url":"https://api.github.com/repos/jekyll/jekyll/issues/670","number":670,"state":"closed","locked":false,"title":"Use custom classifications like tags & categories","user":{"login":"goodtouch","id":16782,"avatar_url":"https://avatars.githubusercontent.com/u/16782?v=3","gravatar_id":"","url":"https://api.github.com/users/goodtouch","html_url":"https://github.com/goodtouch","followers_url":"https://api.github.com/users/goodtouch/followers","following_url":"https://api.github.com/users/goodtouch/following{/other_user}","gists_url":"https://api.github.com/users/goodtouch/gists{/gist_id}","starred_url":"https://api.github.com/users/goodtouch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goodtouch/subscriptions","organizations_url":"https://api.github.com/users/goodtouch/orgs","repos_url":"https://api.github.com/users/goodtouch/repos","events_url":"https://api.github.com/users/goodtouch/events{/privacy}","received_events_url":"https://api.github.com/users/goodtouch/received_events","type":"User","site_admin":false},"body":"We used to classify posts with tags & categories.\r\n\r\nThis patch adds a generic way to define & use your own classifications through `site.config[:classifications]` by adding `tags` like behavior to site & posts for added classifications.\r\n\r\nLet's say you want classify Post by referring to Project(s), Customer(s) and Layout(s) you can now simply add the following to `_config.yml` :\r\n\r\n```\r\nclassifications: \r\n  - projects\r\n  - customers\r\n  - layouts\r\n```\r\n\r\nAnd start using those classifications like you would with `categories` or `tags` :\r\n\r\nAdd the following to a Post:\r\n\r\n```\r\nproject: bartender\r\nlayout:\r\n  - grid\r\n  - responsive\r\n```\r\n\r\nAnd then use the following in any template :\r\n\r\n```\r\n<h2>Projects</h2>\r\n<ul>\r\n{% for project in site.projects %}\r\n  <li>{{ project | first }}</li>\r\n{% endfor %}\r\n</ul>\r\n```","created_at":"2012-11-10T23:53:17Z","updated_at":"2015-01-17T22:50:55Z","closed_at":"2015-01-17T22:50:55Z","merged_at":null,"merge_commit_sha":"5820d83d83cec769d4469472df56ed7e7f310bba","assignee":{"login":"parkr","id":237985,"avatar_url":"https://avatars.githubusercontent.com/u/237985?v=3","gravatar_id":"","url":"https://api.github.com/users/parkr","html_url":"https://github.com/parkr","followers_url":"https://api.github.com/users/parkr/followers","following_url":"https://api.github.com/users/parkr/following{/other_user}","gists_url":"https://api.github.com/users/parkr/gists{/gist_id}","starred_url":"https://api.github.com/users/parkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkr/subscriptions","organizations_url":"https://api.github.com/users/parkr/orgs","repos_url":"https://api.github.com/users/parkr/repos","events_url":"https://api.github.com/users/parkr/events{/privacy}","received_events_url":"https://api.github.com/users/parkr/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jekyll/jekyll/milestones/23","labels_url":"https://api.github.com/repos/jekyll/jekyll/milestones/23/labels","id":691778,"number":23,"title":"2.2","description":"","creator":{"login":"parkr","id":237985,"avatar_url":"https://avatars.githubusercontent.com/u/237985?v=3","gravatar_id":"","url":"https://api.github.com/users/parkr","html_url":"https://github.com/parkr","followers_url":"https://api.github.com/users/parkr/followers","following_url":"https://api.github.com/users/parkr/following{/other_user}","gists_url":"https://api.github.com/users/parkr/gists{/gist_id}","starred_url":"https://api.github.com/users/parkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkr/subscriptions","organizations_url":"https://api.github.com/users/parkr/orgs","repos_url":"https://api.github.com/users/parkr/repos","events_url":"https://api.github.com/users/parkr/events{/privacy}","received_events_url":"https://api.github.com/users/parkr/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":6,"state":"closed","created_at":"2014-06-16T02:12:24Z","updated_at":"2015-01-17T22:50:55Z","due_on":null,"closed_at":"2014-10-24T18:35:49Z"},"commits_url":"https://api.github.com/repos/jekyll/jekyll/pulls/670/commits","review_comments_url":"https://api.github.com/repos/jekyll/jekyll/pulls/670/comments","review_comment_url":"https://api.github.com/repos/jekyll/jekyll/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jekyll/jekyll/issues/670/comments","statuses_url":"https://api.github.com/repos/jekyll/jekyll/statuses/7966ada5d085af9fdb3bacaac83edcce84452aa7","head":{"label":"goodtouch:custom-classifications","ref":"custom-classifications","sha":"7966ada5d085af9fdb3bacaac83edcce84452aa7","user":{"login":"goodtouch","id":16782,"avatar_url":"https://avatars.githubusercontent.com/u/16782?v=3","gravatar_id":"","url":"https://api.github.com/users/goodtouch","html_url":"https://github.com/goodtouch","followers_url":"https://api.github.com/users/goodtouch/followers","following_url":"https://api.github.com/users/goodtouch/following{/other_user}","gists_url":"https://api.github.com/users/goodtouch/gists{/gist_id}","starred_url":"https://api.github.com/users/goodtouch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goodtouch/subscriptions","organizations_url":"https://api.github.com/users/goodtouch/orgs","repos_url":"https://api.github.com/users/goodtouch/repos","events_url":"https://api.github.com/users/goodtouch/events{/privacy}","received_events_url":"https://api.github.com/users/goodtouch/received_events","type":"User","site_admin":false},"repo":{"id":6586832,"name":"jekyll","full_name":"goodtouch/jekyll","owner":{"login":"goodtouch","id":16782,"avatar_url":"https://avatars.githubusercontent.com/u/16782?v=3","gravatar_id":"","url":"https://api.github.com/users/goodtouch","html_url":"https://github.com/goodtouch","followers_url":"https://api.github.com/users/goodtouch/followers","following_url":"https://api.github.com/users/goodtouch/following{/other_user}","gists_url":"https://api.github.com/users/goodtouch/gists{/gist_id}","starred_url":"https://api.github.com/users/goodtouch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goodtouch/subscriptions","organizations_url":"https://api.github.com/users/goodtouch/orgs","repos_url":"https://api.github.com/users/goodtouch/repos","events_url":"https://api.github.com/users/goodtouch/events{/privacy}","received_events_url":"https://api.github.com/users/goodtouch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/goodtouch/jekyll","description":"Jekyll is a blog-aware, static site generator in Ruby","fork":true,"url":"https://api.github.com/repos/goodtouch/jekyll","forks_url":"https://api.github.com/repos/goodtouch/jekyll/forks","keys_url":"https://api.github.com/repos/goodtouch/jekyll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goodtouch/jekyll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goodtouch/jekyll/teams","hooks_url":"https://api.github.com/repos/goodtouch/jekyll/hooks","issue_events_url":"https://api.github.com/repos/goodtouch/jekyll/issues/events{/number}","events_url":"https://api.github.com/repos/goodtouch/jekyll/events","assignees_url":"https://api.github.com/repos/goodtouch/jekyll/assignees{/user}","branches_url":"https://api.github.com/repos/goodtouch/jekyll/branches{/branch}","tags_url":"https://api.github.com/repos/goodtouch/jekyll/tags","blobs_url":"https://api.github.com/repos/goodtouch/jekyll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goodtouch/jekyll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goodtouch/jekyll/git/refs{/sha}","trees_url":"https://api.github.com/repos/goodtouch/jekyll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goodtouch/jekyll/statuses/{sha}","languages_url":"https://api.github.com/repos/goodtouch/jekyll/languages","stargazers_url":"https://api.github.com/repos/goodtouch/jekyll/stargazers","contributors_url":"https://api.github.com/repos/goodtouch/jekyll/contributors","subscribers_url":"https://api.github.com/repos/goodtouch/jekyll/subscribers","subscription_url":"https://api.github.com/repos/goodtouch/jekyll/subscription","commits_url":"https://api.github.com/repos/goodtouch/jekyll/commits{/sha}","git_commits_url":"https://api.github.com/repos/goodtouch/jekyll/git/commits{/sha}","comments_url":"https://api.github.com/repos/goodtouch/jekyll/comments{/number}","issue_comment_url":"https://api.github.com/repos/goodtouch/jekyll/issues/comments/{number}","contents_url":"https://api.github.com/repos/goodtouch/jekyll/contents/{+path}","compare_url":"https://api.github.com/repos/goodtouch/jekyll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goodtouch/jekyll/merges","archive_url":"https://api.github.com/repos/goodtouch/jekyll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goodtouch/jekyll/downloads","issues_url":"https://api.github.com/repos/goodtouch/jekyll/issues{/number}","pulls_url":"https://api.github.com/repos/goodtouch/jekyll/pulls{/number}","milestones_url":"https://api.github.com/repos/goodtouch/jekyll/milestones{/number}","notifications_url":"https://api.github.com/repos/goodtouch/jekyll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goodtouch/jekyll/labels{/name}","releases_url":"https://api.github.com/repos/goodtouch/jekyll/releases{/id}","created_at":"2012-11-07T21:42:14Z","updated_at":"2014-05-22T15:17:22Z","pushed_at":"2014-05-22T15:17:22Z","git_url":"git://github.com/goodtouch/jekyll.git","ssh_url":"git@github.com:goodtouch/jekyll.git","clone_url":"https://github.com/goodtouch/jekyll.git","svn_url":"https://github.com/goodtouch/jekyll","homepage":"http://jekyllrb.com","size":33764,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"custom-classifications"}},"base":{"label":"jekyll:master","ref":"master","sha":"8d65c9c92f787441f770c3e921b9b2264b373256","user":{"login":"jekyll","id":3083652,"avatar_url":"https://avatars.githubusercontent.com/u/3083652?v=3","gravatar_id":"","url":"https://api.github.com/users/jekyll","html_url":"https://github.com/jekyll","followers_url":"https://api.github.com/users/jekyll/followers","following_url":"https://api.github.com/users/jekyll/following{/other_user}","gists_url":"https://api.github.com/users/jekyll/gists{/gist_id}","starred_url":"https://api.github.com/users/jekyll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekyll/subscriptions","organizations_url":"https://api.github.com/users/jekyll/orgs","repos_url":"https://api.github.com/users/jekyll/repos","events_url":"https://api.github.com/users/jekyll/events{/privacy}","received_events_url":"https://api.github.com/users/jekyll/received_events","type":"Organization","site_admin":false},"repo":{"id":65252,"name":"jekyll","full_name":"jekyll/jekyll","owner":{"login":"jekyll","id":3083652,"avatar_url":"https://avatars.githubusercontent.com/u/3083652?v=3","gravatar_id":"","url":"https://api.github.com/users/jekyll","html_url":"https://github.com/jekyll","followers_url":"https://api.github.com/users/jekyll/followers","following_url":"https://api.github.com/users/jekyll/following{/other_user}","gists_url":"https://api.github.com/users/jekyll/gists{/gist_id}","starred_url":"https://api.github.com/users/jekyll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekyll/subscriptions","organizations_url":"https://api.github.com/users/jekyll/orgs","repos_url":"https://api.github.com/users/jekyll/repos","events_url":"https://api.github.com/users/jekyll/events{/privacy}","received_events_url":"https://api.github.com/users/jekyll/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jekyll/jekyll","description":"Jekyll is a blog-aware, static site generator in Ruby","fork":false,"url":"https://api.github.com/repos/jekyll/jekyll","forks_url":"https://api.github.com/repos/jekyll/jekyll/forks","keys_url":"https://api.github.com/repos/jekyll/jekyll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jekyll/jekyll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jekyll/jekyll/teams","hooks_url":"https://api.github.com/repos/jekyll/jekyll/hooks","issue_events_url":"https://api.github.com/repos/jekyll/jekyll/issues/events{/number}","events_url":"https://api.github.com/repos/jekyll/jekyll/events","assignees_url":"https://api.github.com/repos/jekyll/jekyll/assignees{/user}","branches_url":"https://api.github.com/repos/jekyll/jekyll/branches{/branch}","tags_url":"https://api.github.com/repos/jekyll/jekyll/tags","blobs_url":"https://api.github.com/repos/jekyll/jekyll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jekyll/jekyll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jekyll/jekyll/git/refs{/sha}","trees_url":"https://api.github.com/repos/jekyll/jekyll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jekyll/jekyll/statuses/{sha}","languages_url":"https://api.github.com/repos/jekyll/jekyll/languages","stargazers_url":"https://api.github.com/repos/jekyll/jekyll/stargazers","contributors_url":"https://api.github.com/repos/jekyll/jekyll/contributors","subscribers_url":"https://api.github.com/repos/jekyll/jekyll/subscribers","subscription_url":"https://api.github.com/repos/jekyll/jekyll/subscription","commits_url":"https://api.github.com/repos/jekyll/jekyll/commits{/sha}","git_commits_url":"https://api.github.com/repos/jekyll/jekyll/git/commits{/sha}","comments_url":"https://api.github.com/repos/jekyll/jekyll/comments{/number}","issue_comment_url":"https://api.github.com/repos/jekyll/jekyll/issues/comments/{number}","contents_url":"https://api.github.com/repos/jekyll/jekyll/contents/{+path}","compare_url":"https://api.github.com/repos/jekyll/jekyll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jekyll/jekyll/merges","archive_url":"https://api.github.com/repos/jekyll/jekyll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jekyll/jekyll/downloads","issues_url":"https://api.github.com/repos/jekyll/jekyll/issues{/number}","pulls_url":"https://api.github.com/repos/jekyll/jekyll/pulls{/number}","milestones_url":"https://api.github.com/repos/jekyll/jekyll/milestones{/number}","notifications_url":"https://api.github.com/repos/jekyll/jekyll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jekyll/jekyll/labels{/name}","releases_url":"https://api.github.com/repos/jekyll/jekyll/releases{/id}","created_at":"2008-10-20T06:29:03Z","updated_at":"2015-01-17T21:34:56Z","pushed_at":"2015-01-17T22:48:21Z","git_url":"git://github.com/jekyll/jekyll.git","ssh_url":"git@github.com:jekyll/jekyll.git","clone_url":"https://github.com/jekyll/jekyll.git","svn_url":"https://github.com/jekyll/jekyll","homepage":"http://jekyllrb.com","size":28622,"stargazers_count":18181,"watchers_count":18181,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3741,"mirror_url":null,"open_issues_count":86,"forks":3741,"open_issues":86,"watchers":18181,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jekyll/jekyll/pulls/670"},"html":{"href":"https://github.com/jekyll/jekyll/pull/670"},"issue":{"href":"https://api.github.com/repos/jekyll/jekyll/issues/670"},"comments":{"href":"https://api.github.com/repos/jekyll/jekyll/issues/670/comments"},"review_comments":{"href":"https://api.github.com/repos/jekyll/jekyll/pulls/670/comments"},"review_comment":{"href":"https://api.github.com/repos/jekyll/jekyll/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jekyll/jekyll/pulls/670/commits"},"statuses":{"href":"https://api.github.com/repos/jekyll/jekyll/statuses/7966ada5d085af9fdb3bacaac83edcce84452aa7"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":38,"review_comments":20,"commits":3,"additions":131,"deletions":40,"changed_files":10}}