{"action":"closed","number":16,"pull_request":{"url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/pulls/16","id":61008624,"html_url":"https://github.com/coleforcongress/coleforcongress.github.io/pull/16","diff_url":"https://github.com/coleforcongress/coleforcongress.github.io/pull/16.diff","patch_url":"https://github.com/coleforcongress/coleforcongress.github.io/pull/16.patch","issue_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/issues/16","number":16,"state":"closed","locked":false,"title":"Use Jekyll SEO Tag and Jekyll Sitemap","user":{"login":"benbalter","id":282759,"avatar_url":"https://avatars.githubusercontent.com/u/282759?v=3","gravatar_id":"","url":"https://api.github.com/users/benbalter","html_url":"https://github.com/benbalter","followers_url":"https://api.github.com/users/benbalter/followers","following_url":"https://api.github.com/users/benbalter/following{/other_user}","gists_url":"https://api.github.com/users/benbalter/gists{/gist_id}","starred_url":"https://api.github.com/users/benbalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbalter/subscriptions","organizations_url":"https://api.github.com/users/benbalter/orgs","repos_url":"https://api.github.com/users/benbalter/repos","events_url":"https://api.github.com/users/benbalter/events{/privacy}","received_events_url":"https://api.github.com/users/benbalter/received_events","type":"User","site_admin":true},"body":"This pull request adds the [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag) and [Jekyll Sitemap](https://github.com/jekyll/jekyll-sitemap) plugins to help search engines better index the site. \r\n\r\nAbsent few changes to the template and configuration file in this pull request, there should be no change in use or behavior required going forward.\r\n\r\n## Jekyll sitemap\r\n\r\nThis adds a sitemaps.org compliant sitemap at `/sitemap.xml`.\r\n\r\n## Jekyll SEO Tag\r\n\r\nThis adds search-engine-friendly metadata tags to the page head, specifically:\r\n\r\n* Pages title (with site title appended when available)\r\n* Page description\r\n* Canonical URL\r\n* Next and previous URLs for posts\r\n* [JSON-LD Site and post metadata](https://developers.google.com/structured-data/) for richer indexing\r\n* [Open graph](http://ogp.me/) title, description, site title, and URL (for Facebook, LinkedIn, etc.)\r\n* [Twitter summary card](https://dev.twitter.com/cards/overview) metadata\r\n\r\nThe output should be mostly the same, with the values being pulled from existing metadata fields, or in the config, rather than hard coding the HTML into the front matter. This has the advantage of also working on new pages as they area added.\r\n\r\nSpecifically, it looks like the added fields are:\r\n\r\n* HTML description\r\n* canonical url\r\n* Open graph site name\r\n* JSON-LD metadata\r\n\r\n### Before\r\n\r\n```html\r\n  <title>Dave Cole for Congress</title>\r\n  <meta property=\"fb:app_id\" content=\"641261639273477\" />\r\n  <a href=\"https://plus.google.com/113399812407843618138\" rel=\"publisher\" />\r\n  <meta name=\"twitter:card\" content=\"summary_large_image\">\r\n<meta name=\"twitter:site\" content=\"@davecolenj\">\r\n<meta name=\"twitter:title\" content=\"Dave Cole is Running for Congress in NJ\">\r\n<meta name=\"twitter:description\" content=\"Dave Cole is a software engineer and public servant with experience growing businesses in the private sector and modernizing government. He served in the White House as a Senior Advisor for Technology.\">\r\n<meta name=\"twitter:image:src\" content=\"https://coleforcongress.com/img/social-share.jpg\">\r\n<meta name=\"twitter:domain\" content=\"ColeForCongress.com\">\r\n<meta property=\"og:title\" content=\"Dave Cole is Running for Congress in NJ\" />\r\n<meta property=\"og:type\" content=\"article\" />\r\n<meta property=\"og:image\" content=\"https://coleforcongress.com/img/social-share.jpg\" />\r\n<meta property=\"og:url\" content=\"https://coleforcongress.com/\" />\r\n<meta property=\"og:description\" content=\"Dave Cole is a software engineer and public servant with experience growing businesses in the private sector and modernizing government. He served in the White House as a Senior Advisor for Technology.\" />\r\n```\r\n\r\n### After \r\n\r\n```html\r\n<!-- Begin Jekyll SEO tag v1.3.1 -->\r\n<title>Dave Cole is Running for Congress in NJ - Dave Cole for Congress</title>\r\n<meta property=\"og:title\" content=\"Dave Cole is Running for Congress in NJ\" />\r\n<meta name=\"description\" content=\"Dave Cole is a software engineer and public servant with experience growing businesses in the private sector and modernizing government. He served in the White House as a Senior Advisor for Technology.\" />\r\n<meta property='og:description' content=\"Dave Cole is a software engineer and public servant with experience growing businesses in the private sector and modernizing government. He served in the White House as a Senior Advisor for Technology.\" />\r\n<link rel=\"canonical\" href=\"https://coleforcongress.com/\" />\r\n<meta property='og:url' content='https://coleforcongress.com/' />\r\n<meta property=\"og:site_name\" content=\"Dave Cole for Congress\" />\r\n<meta property=\"og:image\" content=\"https://coleforcongress.com/img/social-share.jpg\" />\r\n<meta name=\"twitter:card\" content=\"summary\" />\r\n<meta name=\"twitter:site\" content=\"@davecolenj\" />\r\n<meta name=\"twitter:title\" content=\"Dave Cole is Running for Congress in NJ - Dave Cole for Congress\" />\r\n<meta name=\"twitter:description\" content=\"Dave Cole is a software engineer and public servant with experience growing businesses in the private sector and modernizing government. He served in the White House as a Senior Advisor for Technology.\" />\r\n<meta name=\"twitter:image\" content=\"https://coleforcongress.com/img/social-share.jpg\" />\r\n<meta property=\"fb:app_id\" content=\"641261639273477\" />\r\n<script type=\"application/ld+json\">\r\n  {\r\n    \"@context\" : \"http://schema.org\",\r\n    \"@type\" : \"WebSite\",\r\n    \"name\" : \"Dave Cole for Congress\",\r\n    \"headline\": \"Dave Cole is Running for Congress in NJ\",\r\n    \"image\": \"/img/social-share.jpg\",\r\n    \"description\": \"Dave Cole is a software engineer and public servant with experience growing businesses in the private sector and modernizing government. He served in the White House as a Senior Advisor for Technology.\",\r\n    \"url\" : \"https://coleforcongress.com/\"\r\n  }\r\n</script>\r\n<!-- End Jekyll SEO tag -->\r\n```\r\n\r\nLast, to note, [`baseurl` should be treated as base path, not the site URL](http://ben.balter.com/jekyll-style-guide/config/#baseurl) (fixed in this PR to get Jekyll SEO tag to build URLs properly).","created_at":"2016-02-28T21:52:12Z","updated_at":"2016-03-01T03:48:55Z","closed_at":"2016-03-01T03:48:55Z","merged_at":"2016-03-01T03:48:55Z","merge_commit_sha":"7d658290e5ef2ed226112219c89ed4eaa96c1aa9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/pulls/16/commits","review_comments_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/pulls/16/comments","review_comment_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/issues/16/comments","statuses_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/statuses/5c2cbe6e67fdbfabeb5435d4bba45319b84edac1","head":{"label":"benbalter:seo","ref":"seo","sha":"5c2cbe6e67fdbfabeb5435d4bba45319b84edac1","user":{"login":"benbalter","id":282759,"avatar_url":"https://avatars.githubusercontent.com/u/282759?v=3","gravatar_id":"","url":"https://api.github.com/users/benbalter","html_url":"https://github.com/benbalter","followers_url":"https://api.github.com/users/benbalter/followers","following_url":"https://api.github.com/users/benbalter/following{/other_user}","gists_url":"https://api.github.com/users/benbalter/gists{/gist_id}","starred_url":"https://api.github.com/users/benbalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbalter/subscriptions","organizations_url":"https://api.github.com/users/benbalter/orgs","repos_url":"https://api.github.com/users/benbalter/repos","events_url":"https://api.github.com/users/benbalter/events{/privacy}","received_events_url":"https://api.github.com/users/benbalter/received_events","type":"User","site_admin":true},"repo":{"id":52745964,"name":"coleforcongress.github.io","full_name":"benbalter/coleforcongress.github.io","owner":{"login":"benbalter","id":282759,"avatar_url":"https://avatars.githubusercontent.com/u/282759?v=3","gravatar_id":"","url":"https://api.github.com/users/benbalter","html_url":"https://github.com/benbalter","followers_url":"https://api.github.com/users/benbalter/followers","following_url":"https://api.github.com/users/benbalter/following{/other_user}","gists_url":"https://api.github.com/users/benbalter/gists{/gist_id}","starred_url":"https://api.github.com/users/benbalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbalter/subscriptions","organizations_url":"https://api.github.com/users/benbalter/orgs","repos_url":"https://api.github.com/users/benbalter/repos","events_url":"https://api.github.com/users/benbalter/events{/privacy}","received_events_url":"https://api.github.com/users/benbalter/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/benbalter/coleforcongress.github.io","description":"Dave Cole for Congress","fork":true,"url":"https://api.github.com/repos/benbalter/coleforcongress.github.io","forks_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/forks","keys_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/teams","hooks_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/hooks","issue_events_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/events","assignees_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/tags","blobs_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/languages","stargazers_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/stargazers","contributors_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/contributors","subscribers_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/subscribers","subscription_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/subscription","commits_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/merges","archive_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/downloads","issues_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/labels{/name}","releases_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/benbalter/coleforcongress.github.io/deployments","created_at":"2016-02-28T21:43:00Z","updated_at":"2016-02-28T21:43:01Z","pushed_at":"2016-02-28T22:08:33Z","git_url":"git://github.com/benbalter/coleforcongress.github.io.git","ssh_url":"git@github.com:benbalter/coleforcongress.github.io.git","clone_url":"https://github.com/benbalter/coleforcongress.github.io.git","svn_url":"https://github.com/benbalter/coleforcongress.github.io","homepage":"https://coleforcongress.com","size":35556,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"coleforcongress:master","ref":"master","sha":"31a4536627472346ddc5c360a7fcaa54de2c9322","user":{"login":"coleforcongress","id":6143933,"avatar_url":"https://avatars.githubusercontent.com/u/6143933?v=3","gravatar_id":"","url":"https://api.github.com/users/coleforcongress","html_url":"https://github.com/coleforcongress","followers_url":"https://api.github.com/users/coleforcongress/followers","following_url":"https://api.github.com/users/coleforcongress/following{/other_user}","gists_url":"https://api.github.com/users/coleforcongress/gists{/gist_id}","starred_url":"https://api.github.com/users/coleforcongress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coleforcongress/subscriptions","organizations_url":"https://api.github.com/users/coleforcongress/orgs","repos_url":"https://api.github.com/users/coleforcongress/repos","events_url":"https://api.github.com/users/coleforcongress/events{/privacy}","received_events_url":"https://api.github.com/users/coleforcongress/received_events","type":"Organization","site_admin":false},"repo":{"id":14918012,"name":"coleforcongress.github.io","full_name":"coleforcongress/coleforcongress.github.io","owner":{"login":"coleforcongress","id":6143933,"avatar_url":"https://avatars.githubusercontent.com/u/6143933?v=3","gravatar_id":"","url":"https://api.github.com/users/coleforcongress","html_url":"https://github.com/coleforcongress","followers_url":"https://api.github.com/users/coleforcongress/followers","following_url":"https://api.github.com/users/coleforcongress/following{/other_user}","gists_url":"https://api.github.com/users/coleforcongress/gists{/gist_id}","starred_url":"https://api.github.com/users/coleforcongress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coleforcongress/subscriptions","organizations_url":"https://api.github.com/users/coleforcongress/orgs","repos_url":"https://api.github.com/users/coleforcongress/repos","events_url":"https://api.github.com/users/coleforcongress/events{/privacy}","received_events_url":"https://api.github.com/users/coleforcongress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coleforcongress/coleforcongress.github.io","description":"Dave Cole for Congress","fork":false,"url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io","forks_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/forks","keys_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/teams","hooks_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/hooks","issue_events_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/events","assignees_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/tags","blobs_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/languages","stargazers_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/stargazers","contributors_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/contributors","subscribers_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/subscribers","subscription_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/subscription","commits_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/merges","archive_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/downloads","issues_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/labels{/name}","releases_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/deployments","created_at":"2013-12-04T08:13:16Z","updated_at":"2016-02-29T18:21:00Z","pushed_at":"2016-03-01T03:48:55Z","git_url":"git://github.com/coleforcongress/coleforcongress.github.io.git","ssh_url":"git@github.com:coleforcongress/coleforcongress.github.io.git","clone_url":"https://github.com/coleforcongress/coleforcongress.github.io.git","svn_url":"https://github.com/coleforcongress/coleforcongress.github.io","homepage":"https://coleforcongress.com","size":35552,"stargazers_count":18,"watchers_count":18,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":0,"forks":7,"open_issues":0,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/pulls/16"},"html":{"href":"https://github.com/coleforcongress/coleforcongress.github.io/pull/16"},"issue":{"href":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/issues/16"},"comments":{"href":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/coleforcongress/coleforcongress.github.io/statuses/5c2cbe6e67fdbfabeb5435d4bba45319b84edac1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dhcole","id":170641,"avatar_url":"https://avatars.githubusercontent.com/u/170641?v=3","gravatar_id":"","url":"https://api.github.com/users/dhcole","html_url":"https://github.com/dhcole","followers_url":"https://api.github.com/users/dhcole/followers","following_url":"https://api.github.com/users/dhcole/following{/other_user}","gists_url":"https://api.github.com/users/dhcole/gists{/gist_id}","starred_url":"https://api.github.com/users/dhcole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhcole/subscriptions","organizations_url":"https://api.github.com/users/dhcole/orgs","repos_url":"https://api.github.com/users/dhcole/repos","events_url":"https://api.github.com/users/dhcole/events{/privacy}","received_events_url":"https://api.github.com/users/dhcole/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":5,"additions":42,"deletions":27,"changed_files":10}}