{"action":"created","comment":{"url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/comments/49231788","id":49231788,"diff_hunk":"@@ -61,10 +61,11 @@ def with_pic(input)\n       name = input[0]\n       info = input[1]\n       image = File.join 'assets', 'images', 'team', \"#{name}.jpg\"\n+      @baseurl = Jekyll.sites[0].config['baseurl']","path":"_plugins/author.rb","position":29,"original_position":29,"commit_id":"5030b68fabbe2b1880d25758be2383fa830150d7","original_commit_id":"5030b68fabbe2b1880d25758be2383fa830150d7","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2016-01-08T20:05:09Z","updated_at":"2016-01-08T20:05:09Z","html_url":"https://github.com/18F/18f.gsa.gov/pull/1430#discussion_r49231788","pull_request_url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1430","_links":{"self":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/comments/49231788"},"html":{"href":"https://github.com/18F/18f.gsa.gov/pull/1430#discussion_r49231788"},"pull_request":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1430"}}},"pull_request":{"url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1430","id":54836576,"html_url":"https://github.com/18F/18f.gsa.gov/pull/1430","diff_url":"https://github.com/18F/18f.gsa.gov/pull/1430.diff","patch_url":"https://github.com/18F/18f.gsa.gov/pull/1430.patch","issue_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues/1430","number":1430,"state":"open","locked":false,"title":"[WIP] Federalist prep","user":{"login":"gboone","id":312468,"avatar_url":"https://avatars.githubusercontent.com/u/312468?v=3","gravatar_id":"","url":"https://api.github.com/users/gboone","html_url":"https://github.com/gboone","followers_url":"https://api.github.com/users/gboone/followers","following_url":"https://api.github.com/users/gboone/following{/other_user}","gists_url":"https://api.github.com/users/gboone/gists{/gist_id}","starred_url":"https://api.github.com/users/gboone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gboone/subscriptions","organizations_url":"https://api.github.com/users/gboone/orgs","repos_url":"https://api.github.com/users/gboone/repos","events_url":"https://api.github.com/users/gboone/events{/privacy}","received_events_url":"https://api.github.com/users/gboone/received_events","type":"User","site_admin":false},"body":"This pull request preps 18f.gsa.gov to use the Federalist platform. The short term goal is to use the previewing feature for, among other things, blog post drafting. The long term goal is to fully host the site on the platform. Outstanding issues blocking that include:\r\n\r\n- [x] Integration of 18F/Dashboard at `{{ site.baseurl }}/dashboard/`or dashboard.18f.gov\r\n- [ ] Ensuring there are no `baseurl`-less URLs, images, links, scripts, etc. kicking around.\r\n- [x] Clearing out all html files that might be edited as content (convert them to markdown)\r\n- [x] Understanding any implications this move might have for our ssl configuration, compliance, or other devops concerns. AFAIK there are none but this, especially compliance, is always a concern.\r\n- [ ] Figure out how to get URLs to respond with or without the trailing slash (`{{ site.baseurl }}/team` vs `{{ site.baseurl }}/team/`)\r\n\r\nPreview branch: https://federalist.18f.gov/preview/18F/18f.gsa.gov/federalist-prep/","created_at":"2015-12-30T23:02:45Z","updated_at":"2016-01-08T20:05:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90bf159c3f792d2270838691df38d94dcfb0d2f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1430/commits","review_comments_url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1430/comments","review_comment_url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues/1430/comments","statuses_url":"https://api.github.com/repos/18F/18f.gsa.gov/statuses/5030b68fabbe2b1880d25758be2383fa830150d7","head":{"label":"18F:federalist-prep","ref":"federalist-prep","sha":"5030b68fabbe2b1880d25758be2383fa830150d7","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":17324120,"name":"18f.gsa.gov","full_name":"18F/18f.gsa.gov","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/18f.gsa.gov","description":"This repository contains 18F's website.","fork":false,"url":"https://api.github.com/repos/18F/18f.gsa.gov","forks_url":"https://api.github.com/repos/18F/18f.gsa.gov/forks","keys_url":"https://api.github.com/repos/18F/18f.gsa.gov/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/18f.gsa.gov/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/18f.gsa.gov/teams","hooks_url":"https://api.github.com/repos/18F/18f.gsa.gov/hooks","issue_events_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues/events{/number}","events_url":"https://api.github.com/repos/18F/18f.gsa.gov/events","assignees_url":"https://api.github.com/repos/18F/18f.gsa.gov/assignees{/user}","branches_url":"https://api.github.com/repos/18F/18f.gsa.gov/branches{/branch}","tags_url":"https://api.github.com/repos/18F/18f.gsa.gov/tags","blobs_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/18f.gsa.gov/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/18f.gsa.gov/languages","stargazers_url":"https://api.github.com/repos/18F/18f.gsa.gov/stargazers","contributors_url":"https://api.github.com/repos/18F/18f.gsa.gov/contributors","subscribers_url":"https://api.github.com/repos/18F/18f.gsa.gov/subscribers","subscription_url":"https://api.github.com/repos/18F/18f.gsa.gov/subscription","commits_url":"https://api.github.com/repos/18F/18f.gsa.gov/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/18f.gsa.gov/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/18f.gsa.gov/contents/{+path}","compare_url":"https://api.github.com/repos/18F/18f.gsa.gov/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/18f.gsa.gov/merges","archive_url":"https://api.github.com/repos/18F/18f.gsa.gov/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/18f.gsa.gov/downloads","issues_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues{/number}","pulls_url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/18f.gsa.gov/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/18f.gsa.gov/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/18f.gsa.gov/labels{/name}","releases_url":"https://api.github.com/repos/18F/18f.gsa.gov/releases{/id}","created_at":"2014-03-01T20:57:14Z","updated_at":"2016-01-08T19:31:46Z","pushed_at":"2016-01-08T20:05:04Z","git_url":"git://github.com/18F/18f.gsa.gov.git","ssh_url":"git@github.com:18F/18f.gsa.gov.git","clone_url":"https://github.com/18F/18f.gsa.gov.git","svn_url":"https://github.com/18F/18f.gsa.gov","homepage":"https://18f.gsa.gov","size":194111,"stargazers_count":117,"watchers_count":117,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":153,"mirror_url":null,"open_issues_count":74,"forks":153,"open_issues":74,"watchers":117,"default_branch":"staging"}},"base":{"label":"18F:staging","ref":"staging","sha":"45f1facd2864581078e12989b925b444f6d4cb63","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":17324120,"name":"18f.gsa.gov","full_name":"18F/18f.gsa.gov","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/18f.gsa.gov","description":"This repository contains 18F's website.","fork":false,"url":"https://api.github.com/repos/18F/18f.gsa.gov","forks_url":"https://api.github.com/repos/18F/18f.gsa.gov/forks","keys_url":"https://api.github.com/repos/18F/18f.gsa.gov/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/18f.gsa.gov/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/18f.gsa.gov/teams","hooks_url":"https://api.github.com/repos/18F/18f.gsa.gov/hooks","issue_events_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues/events{/number}","events_url":"https://api.github.com/repos/18F/18f.gsa.gov/events","assignees_url":"https://api.github.com/repos/18F/18f.gsa.gov/assignees{/user}","branches_url":"https://api.github.com/repos/18F/18f.gsa.gov/branches{/branch}","tags_url":"https://api.github.com/repos/18F/18f.gsa.gov/tags","blobs_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/18f.gsa.gov/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/18f.gsa.gov/languages","stargazers_url":"https://api.github.com/repos/18F/18f.gsa.gov/stargazers","contributors_url":"https://api.github.com/repos/18F/18f.gsa.gov/contributors","subscribers_url":"https://api.github.com/repos/18F/18f.gsa.gov/subscribers","subscription_url":"https://api.github.com/repos/18F/18f.gsa.gov/subscription","commits_url":"https://api.github.com/repos/18F/18f.gsa.gov/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/18f.gsa.gov/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/18f.gsa.gov/contents/{+path}","compare_url":"https://api.github.com/repos/18F/18f.gsa.gov/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/18f.gsa.gov/merges","archive_url":"https://api.github.com/repos/18F/18f.gsa.gov/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/18f.gsa.gov/downloads","issues_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues{/number}","pulls_url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/18f.gsa.gov/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/18f.gsa.gov/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/18f.gsa.gov/labels{/name}","releases_url":"https://api.github.com/repos/18F/18f.gsa.gov/releases{/id}","created_at":"2014-03-01T20:57:14Z","updated_at":"2016-01-08T19:31:46Z","pushed_at":"2016-01-08T20:05:04Z","git_url":"git://github.com/18F/18f.gsa.gov.git","ssh_url":"git@github.com:18F/18f.gsa.gov.git","clone_url":"https://github.com/18F/18f.gsa.gov.git","svn_url":"https://github.com/18F/18f.gsa.gov","homepage":"https://18f.gsa.gov","size":194111,"stargazers_count":117,"watchers_count":117,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":153,"mirror_url":null,"open_issues_count":74,"forks":153,"open_issues":74,"watchers":117,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1430"},"html":{"href":"https://github.com/18F/18f.gsa.gov/pull/1430"},"issue":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/issues/1430"},"comments":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/issues/1430/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1430/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1430/commits"},"statuses":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/statuses/5030b68fabbe2b1880d25758be2383fa830150d7"}}}}