{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/pulls/1","id":27784949,"html_url":"https://github.com/ianli/elbowpatched-boilerplate/pull/1","diff_url":"https://github.com/ianli/elbowpatched-boilerplate/pull/1.diff","patch_url":"https://github.com/ianli/elbowpatched-boilerplate/pull/1.patch","issue_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/issues/1","number":1,"state":"open","locked":false,"title":"Update template to not render empty sections","user":{"login":"arfon","id":4483,"avatar_url":"https://avatars.githubusercontent.com/u/4483?v=3","gravatar_id":"","url":"https://api.github.com/users/arfon","html_url":"https://github.com/arfon","followers_url":"https://api.github.com/users/arfon/followers","following_url":"https://api.github.com/users/arfon/following{/other_user}","gists_url":"https://api.github.com/users/arfon/gists{/gist_id}","starred_url":"https://api.github.com/users/arfon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arfon/subscriptions","organizations_url":"https://api.github.com/users/arfon/orgs","repos_url":"https://api.github.com/users/arfon/repos","events_url":"https://api.github.com/users/arfon/events{/privacy}","received_events_url":"https://api.github.com/users/arfon/received_events","type":"User","site_admin":true},"body":"Currently if I clear out a data file (such as `projects.yml`) then the heading is still rendered. This way, the whole section is skipped if there isn't any data to show.","created_at":"2015-01-21T18:57:32Z","updated_at":"2015-01-21T18:57:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/issues/1/comments","statuses_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/statuses/4dd43565feefa0f8919871232ee40b9306e88aaa","head":{"label":"arfon:patch-1","ref":"patch-1","sha":"4dd43565feefa0f8919871232ee40b9306e88aaa","user":{"login":"arfon","id":4483,"avatar_url":"https://avatars.githubusercontent.com/u/4483?v=3","gravatar_id":"","url":"https://api.github.com/users/arfon","html_url":"https://github.com/arfon","followers_url":"https://api.github.com/users/arfon/followers","following_url":"https://api.github.com/users/arfon/following{/other_user}","gists_url":"https://api.github.com/users/arfon/gists{/gist_id}","starred_url":"https://api.github.com/users/arfon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arfon/subscriptions","organizations_url":"https://api.github.com/users/arfon/orgs","repos_url":"https://api.github.com/users/arfon/repos","events_url":"https://api.github.com/users/arfon/events{/privacy}","received_events_url":"https://api.github.com/users/arfon/received_events","type":"User","site_admin":true},"repo":{"id":29604248,"name":"elbowpatched-boilerplate","full_name":"arfon/elbowpatched-boilerplate","owner":{"login":"arfon","id":4483,"avatar_url":"https://avatars.githubusercontent.com/u/4483?v=3","gravatar_id":"","url":"https://api.github.com/users/arfon","html_url":"https://github.com/arfon","followers_url":"https://api.github.com/users/arfon/followers","following_url":"https://api.github.com/users/arfon/following{/other_user}","gists_url":"https://api.github.com/users/arfon/gists{/gist_id}","starred_url":"https://api.github.com/users/arfon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arfon/subscriptions","organizations_url":"https://api.github.com/users/arfon/orgs","repos_url":"https://api.github.com/users/arfon/repos","events_url":"https://api.github.com/users/arfon/events{/privacy}","received_events_url":"https://api.github.com/users/arfon/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/arfon/elbowpatched-boilerplate","description":"Create an academic personal website on Jekyll and GitHub Pages","fork":true,"url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate","forks_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/forks","keys_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/teams","hooks_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/events","assignees_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/tags","blobs_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/languages","stargazers_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/subscription","commits_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/issues/comments/{number}","contents_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/merges","archive_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/downloads","issues_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/arfon/elbowpatched-boilerplate/releases{/id}","created_at":"2015-01-21T18:21:03Z","updated_at":"2015-01-21T18:50:04Z","pushed_at":"2015-01-21T18:56:31Z","git_url":"git://github.com/arfon/elbowpatched-boilerplate.git","ssh_url":"git@github.com:arfon/elbowpatched-boilerplate.git","clone_url":"https://github.com/arfon/elbowpatched-boilerplate.git","svn_url":"https://github.com/arfon/elbowpatched-boilerplate","homepage":"http://ianli.github.io/elbowpatched-boilerplate","size":2195,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"ianli:gh-pages","ref":"gh-pages","sha":"9f084d741d146970bb3d9229033007d79ba0a64f","user":{"login":"ianli","id":278230,"avatar_url":"https://avatars.githubusercontent.com/u/278230?v=3","gravatar_id":"","url":"https://api.github.com/users/ianli","html_url":"https://github.com/ianli","followers_url":"https://api.github.com/users/ianli/followers","following_url":"https://api.github.com/users/ianli/following{/other_user}","gists_url":"https://api.github.com/users/ianli/gists{/gist_id}","starred_url":"https://api.github.com/users/ianli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianli/subscriptions","organizations_url":"https://api.github.com/users/ianli/orgs","repos_url":"https://api.github.com/users/ianli/repos","events_url":"https://api.github.com/users/ianli/events{/privacy}","received_events_url":"https://api.github.com/users/ianli/received_events","type":"User","site_admin":false},"repo":{"id":23454489,"name":"elbowpatched-boilerplate","full_name":"ianli/elbowpatched-boilerplate","owner":{"login":"ianli","id":278230,"avatar_url":"https://avatars.githubusercontent.com/u/278230?v=3","gravatar_id":"","url":"https://api.github.com/users/ianli","html_url":"https://github.com/ianli","followers_url":"https://api.github.com/users/ianli/followers","following_url":"https://api.github.com/users/ianli/following{/other_user}","gists_url":"https://api.github.com/users/ianli/gists{/gist_id}","starred_url":"https://api.github.com/users/ianli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianli/subscriptions","organizations_url":"https://api.github.com/users/ianli/orgs","repos_url":"https://api.github.com/users/ianli/repos","events_url":"https://api.github.com/users/ianli/events{/privacy}","received_events_url":"https://api.github.com/users/ianli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ianli/elbowpatched-boilerplate","description":"Create an academic personal website on Jekyll and GitHub Pages","fork":false,"url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate","forks_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/forks","keys_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/teams","hooks_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/events","assignees_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/tags","blobs_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/languages","stargazers_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/subscription","commits_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/issues/comments/{number}","contents_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/merges","archive_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/downloads","issues_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/releases{/id}","created_at":"2014-08-29T06:15:09Z","updated_at":"2015-01-21T18:26:30Z","pushed_at":"2014-09-04T06:11:24Z","git_url":"git://github.com/ianli/elbowpatched-boilerplate.git","ssh_url":"git@github.com:ianli/elbowpatched-boilerplate.git","clone_url":"https://github.com/ianli/elbowpatched-boilerplate.git","svn_url":"https://github.com/ianli/elbowpatched-boilerplate","homepage":"http://ianli.github.io/elbowpatched-boilerplate","size":1768,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/pulls/1"},"html":{"href":"https://github.com/ianli/elbowpatched-boilerplate/pull/1"},"issue":{"href":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/issues/1"},"comments":{"href":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ianli/elbowpatched-boilerplate/statuses/4dd43565feefa0f8919871232ee40b9306e88aaa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":1}}