{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/cryogen-project/cryogen-core/pulls/36","id":42594592,"html_url":"https://github.com/cryogen-project/cryogen-core/pull/36","diff_url":"https://github.com/cryogen-project/cryogen-core/pull/36.diff","patch_url":"https://github.com/cryogen-project/cryogen-core/pull/36.patch","issue_url":"https://api.github.com/repos/cryogen-project/cryogen-core/issues/36","number":36,"state":"open","locked":false,"title":"Add active-page key to config map","user":{"login":"ciwchris","id":350318,"avatar_url":"https://avatars.githubusercontent.com/u/350318?v=3","gravatar_id":"","url":"https://api.github.com/users/ciwchris","html_url":"https://github.com/ciwchris","followers_url":"https://api.github.com/users/ciwchris/followers","following_url":"https://api.github.com/users/ciwchris/following{/other_user}","gists_url":"https://api.github.com/users/ciwchris/gists{/gist_id}","starred_url":"https://api.github.com/users/ciwchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciwchris/subscriptions","organizations_url":"https://api.github.com/users/ciwchris/orgs","repos_url":"https://api.github.com/users/ciwchris/repos","events_url":"https://api.github.com/users/ciwchris/events{/privacy}","received_events_url":"https://api.github.com/users/ciwchris/received_events","type":"User","site_admin":false},"body":"Pull request for: cryogen-project/cryogen-core#35\r\n\r\nFor certain pages a key with a boolean value is added to the config map which can then be used in templates to determine if it is the page being rendered. Not all pages have this key and boolean value. Instead of adding additional keys for every page a new generic key, 'active-page', has been added and its value is the page name, ex: 'home', 'archives', 'tags', etc. The default value is 'home'. This key can then be used in any template to check the page which is currently being rendered.","created_at":"2015-08-17T14:35:35Z","updated_at":"2015-08-17T14:35:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cryogen-project/cryogen-core/pulls/36/commits","review_comments_url":"https://api.github.com/repos/cryogen-project/cryogen-core/pulls/36/comments","review_comment_url":"https://api.github.com/repos/cryogen-project/cryogen-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cryogen-project/cryogen-core/issues/36/comments","statuses_url":"https://api.github.com/repos/cryogen-project/cryogen-core/statuses/8eb0e9ff29eef2094d8ce2f4dc12574a2f3a5f92","head":{"label":"ciwchris:patch-1","ref":"patch-1","sha":"8eb0e9ff29eef2094d8ce2f4dc12574a2f3a5f92","user":{"login":"ciwchris","id":350318,"avatar_url":"https://avatars.githubusercontent.com/u/350318?v=3","gravatar_id":"","url":"https://api.github.com/users/ciwchris","html_url":"https://github.com/ciwchris","followers_url":"https://api.github.com/users/ciwchris/followers","following_url":"https://api.github.com/users/ciwchris/following{/other_user}","gists_url":"https://api.github.com/users/ciwchris/gists{/gist_id}","starred_url":"https://api.github.com/users/ciwchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciwchris/subscriptions","organizations_url":"https://api.github.com/users/ciwchris/orgs","repos_url":"https://api.github.com/users/ciwchris/repos","events_url":"https://api.github.com/users/ciwchris/events{/privacy}","received_events_url":"https://api.github.com/users/ciwchris/received_events","type":"User","site_admin":false},"repo":{"id":40900373,"name":"cryogen-core","full_name":"ciwchris/cryogen-core","owner":{"login":"ciwchris","id":350318,"avatar_url":"https://avatars.githubusercontent.com/u/350318?v=3","gravatar_id":"","url":"https://api.github.com/users/ciwchris","html_url":"https://github.com/ciwchris","followers_url":"https://api.github.com/users/ciwchris/followers","following_url":"https://api.github.com/users/ciwchris/following{/other_user}","gists_url":"https://api.github.com/users/ciwchris/gists{/gist_id}","starred_url":"https://api.github.com/users/ciwchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciwchris/subscriptions","organizations_url":"https://api.github.com/users/ciwchris/orgs","repos_url":"https://api.github.com/users/ciwchris/repos","events_url":"https://api.github.com/users/ciwchris/events{/privacy}","received_events_url":"https://api.github.com/users/ciwchris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ciwchris/cryogen-core","description":"Cryogen's core","fork":true,"url":"https://api.github.com/repos/ciwchris/cryogen-core","forks_url":"https://api.github.com/repos/ciwchris/cryogen-core/forks","keys_url":"https://api.github.com/repos/ciwchris/cryogen-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ciwchris/cryogen-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ciwchris/cryogen-core/teams","hooks_url":"https://api.github.com/repos/ciwchris/cryogen-core/hooks","issue_events_url":"https://api.github.com/repos/ciwchris/cryogen-core/issues/events{/number}","events_url":"https://api.github.com/repos/ciwchris/cryogen-core/events","assignees_url":"https://api.github.com/repos/ciwchris/cryogen-core/assignees{/user}","branches_url":"https://api.github.com/repos/ciwchris/cryogen-core/branches{/branch}","tags_url":"https://api.github.com/repos/ciwchris/cryogen-core/tags","blobs_url":"https://api.github.com/repos/ciwchris/cryogen-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ciwchris/cryogen-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ciwchris/cryogen-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/ciwchris/cryogen-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ciwchris/cryogen-core/statuses/{sha}","languages_url":"https://api.github.com/repos/ciwchris/cryogen-core/languages","stargazers_url":"https://api.github.com/repos/ciwchris/cryogen-core/stargazers","contributors_url":"https://api.github.com/repos/ciwchris/cryogen-core/contributors","subscribers_url":"https://api.github.com/repos/ciwchris/cryogen-core/subscribers","subscription_url":"https://api.github.com/repos/ciwchris/cryogen-core/subscription","commits_url":"https://api.github.com/repos/ciwchris/cryogen-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/ciwchris/cryogen-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/ciwchris/cryogen-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/ciwchris/cryogen-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/ciwchris/cryogen-core/contents/{+path}","compare_url":"https://api.github.com/repos/ciwchris/cryogen-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ciwchris/cryogen-core/merges","archive_url":"https://api.github.com/repos/ciwchris/cryogen-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ciwchris/cryogen-core/downloads","issues_url":"https://api.github.com/repos/ciwchris/cryogen-core/issues{/number}","pulls_url":"https://api.github.com/repos/ciwchris/cryogen-core/pulls{/number}","milestones_url":"https://api.github.com/repos/ciwchris/cryogen-core/milestones{/number}","notifications_url":"https://api.github.com/repos/ciwchris/cryogen-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ciwchris/cryogen-core/labels{/name}","releases_url":"https://api.github.com/repos/ciwchris/cryogen-core/releases{/id}","created_at":"2015-08-17T14:14:36Z","updated_at":"2015-08-17T14:14:36Z","pushed_at":"2015-08-17T14:30:23Z","git_url":"git://github.com/ciwchris/cryogen-core.git","ssh_url":"git@github.com:ciwchris/cryogen-core.git","clone_url":"https://github.com/ciwchris/cryogen-core.git","svn_url":"https://github.com/ciwchris/cryogen-core","homepage":null,"size":446,"stargazers_count":0,"watchers_count":0,"language":"Clojure","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":"cryogen-project:master","ref":"master","sha":"42faca4b82dace0247073a568594d01de9f604a4","user":{"login":"cryogen-project","id":10539940,"avatar_url":"https://avatars.githubusercontent.com/u/10539940?v=3","gravatar_id":"","url":"https://api.github.com/users/cryogen-project","html_url":"https://github.com/cryogen-project","followers_url":"https://api.github.com/users/cryogen-project/followers","following_url":"https://api.github.com/users/cryogen-project/following{/other_user}","gists_url":"https://api.github.com/users/cryogen-project/gists{/gist_id}","starred_url":"https://api.github.com/users/cryogen-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryogen-project/subscriptions","organizations_url":"https://api.github.com/users/cryogen-project/orgs","repos_url":"https://api.github.com/users/cryogen-project/repos","events_url":"https://api.github.com/users/cryogen-project/events{/privacy}","received_events_url":"https://api.github.com/users/cryogen-project/received_events","type":"Organization","site_admin":false},"repo":{"id":27547806,"name":"cryogen-core","full_name":"cryogen-project/cryogen-core","owner":{"login":"cryogen-project","id":10539940,"avatar_url":"https://avatars.githubusercontent.com/u/10539940?v=3","gravatar_id":"","url":"https://api.github.com/users/cryogen-project","html_url":"https://github.com/cryogen-project","followers_url":"https://api.github.com/users/cryogen-project/followers","following_url":"https://api.github.com/users/cryogen-project/following{/other_user}","gists_url":"https://api.github.com/users/cryogen-project/gists{/gist_id}","starred_url":"https://api.github.com/users/cryogen-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryogen-project/subscriptions","organizations_url":"https://api.github.com/users/cryogen-project/orgs","repos_url":"https://api.github.com/users/cryogen-project/repos","events_url":"https://api.github.com/users/cryogen-project/events{/privacy}","received_events_url":"https://api.github.com/users/cryogen-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cryogen-project/cryogen-core","description":"Cryogen's core","fork":false,"url":"https://api.github.com/repos/cryogen-project/cryogen-core","forks_url":"https://api.github.com/repos/cryogen-project/cryogen-core/forks","keys_url":"https://api.github.com/repos/cryogen-project/cryogen-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cryogen-project/cryogen-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cryogen-project/cryogen-core/teams","hooks_url":"https://api.github.com/repos/cryogen-project/cryogen-core/hooks","issue_events_url":"https://api.github.com/repos/cryogen-project/cryogen-core/issues/events{/number}","events_url":"https://api.github.com/repos/cryogen-project/cryogen-core/events","assignees_url":"https://api.github.com/repos/cryogen-project/cryogen-core/assignees{/user}","branches_url":"https://api.github.com/repos/cryogen-project/cryogen-core/branches{/branch}","tags_url":"https://api.github.com/repos/cryogen-project/cryogen-core/tags","blobs_url":"https://api.github.com/repos/cryogen-project/cryogen-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cryogen-project/cryogen-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cryogen-project/cryogen-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/cryogen-project/cryogen-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cryogen-project/cryogen-core/statuses/{sha}","languages_url":"https://api.github.com/repos/cryogen-project/cryogen-core/languages","stargazers_url":"https://api.github.com/repos/cryogen-project/cryogen-core/stargazers","contributors_url":"https://api.github.com/repos/cryogen-project/cryogen-core/contributors","subscribers_url":"https://api.github.com/repos/cryogen-project/cryogen-core/subscribers","subscription_url":"https://api.github.com/repos/cryogen-project/cryogen-core/subscription","commits_url":"https://api.github.com/repos/cryogen-project/cryogen-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/cryogen-project/cryogen-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/cryogen-project/cryogen-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/cryogen-project/cryogen-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/cryogen-project/cryogen-core/contents/{+path}","compare_url":"https://api.github.com/repos/cryogen-project/cryogen-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cryogen-project/cryogen-core/merges","archive_url":"https://api.github.com/repos/cryogen-project/cryogen-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cryogen-project/cryogen-core/downloads","issues_url":"https://api.github.com/repos/cryogen-project/cryogen-core/issues{/number}","pulls_url":"https://api.github.com/repos/cryogen-project/cryogen-core/pulls{/number}","milestones_url":"https://api.github.com/repos/cryogen-project/cryogen-core/milestones{/number}","notifications_url":"https://api.github.com/repos/cryogen-project/cryogen-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cryogen-project/cryogen-core/labels{/name}","releases_url":"https://api.github.com/repos/cryogen-project/cryogen-core/releases{/id}","created_at":"2014-12-04T15:56:07Z","updated_at":"2015-08-05T10:35:34Z","pushed_at":"2015-08-07T01:03:55Z","git_url":"git://github.com/cryogen-project/cryogen-core.git","ssh_url":"git@github.com:cryogen-project/cryogen-core.git","clone_url":"https://github.com/cryogen-project/cryogen-core.git","svn_url":"https://github.com/cryogen-project/cryogen-core","homepage":null,"size":446,"stargazers_count":19,"watchers_count":19,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":7,"forks":20,"open_issues":7,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cryogen-project/cryogen-core/pulls/36"},"html":{"href":"https://github.com/cryogen-project/cryogen-core/pull/36"},"issue":{"href":"https://api.github.com/repos/cryogen-project/cryogen-core/issues/36"},"comments":{"href":"https://api.github.com/repos/cryogen-project/cryogen-core/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/cryogen-project/cryogen-core/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/cryogen-project/cryogen-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cryogen-project/cryogen-core/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/cryogen-project/cryogen-core/statuses/8eb0e9ff29eef2094d8ce2f4dc12574a2f3a5f92"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":12,"changed_files":1}}