{"action":"created","comment":{"url":"https://api.github.com/repos/Gastove/doctopus/pulls/comments/28926259","id":28926259,"diff_hunk":"@@ -34,16 +35,42 @@\n       response\n       (four-oh-four (:uri request)))))\n \n-(defn serve-index\n-  \"Just returns our index.html, with the content-type set correctly\"\n-  [_]\n-  (-> (slurp (io/resource \"index.html\"))\n+(defn serve-html\n+  \"Just returns html, with the content-type set correctly\"\n+  [template]\n+  (-> template\n       (ring-response/response)\n       (ring-response/content-type \"text/html\")))\n \n+(defn serve-index\n+  [_]\n+  (serve-html (templates/index)))\n+\n+(defn serve-add-head-form\n+  [_]\n+  (serve-html (templates/add-head)))\n+\n+(defn serve-add-tentacle-form\n+  [_]\n+  (serve-html (templates/add-tentacle)))\n+\n+(defn add-head","path":"src/doctopus/web.clj","position":35,"original_position":35,"commit_id":"f04450593812003c6409dfcd357d91a9dec12a4e","original_commit_id":"f04450593812003c6409dfcd357d91a9dec12a4e","user":{"login":"jarofghosts","id":1013892,"avatar_url":"https://avatars.githubusercontent.com/u/1013892?v=3","gravatar_id":"","url":"https://api.github.com/users/jarofghosts","html_url":"https://github.com/jarofghosts","followers_url":"https://api.github.com/users/jarofghosts/followers","following_url":"https://api.github.com/users/jarofghosts/following{/other_user}","gists_url":"https://api.github.com/users/jarofghosts/gists{/gist_id}","starred_url":"https://api.github.com/users/jarofghosts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarofghosts/subscriptions","organizations_url":"https://api.github.com/users/jarofghosts/orgs","repos_url":"https://api.github.com/users/jarofghosts/repos","events_url":"https://api.github.com/users/jarofghosts/events{/privacy}","received_events_url":"https://api.github.com/users/jarofghosts/received_events","type":"User","site_admin":false},"body":"definitely. i plan on refactoring it soon","created_at":"2015-04-22T23:58:07Z","updated_at":"2015-04-22T23:58:07Z","html_url":"https://github.com/Gastove/doctopus/pull/5#discussion_r28926259","pull_request_url":"https://api.github.com/repos/Gastove/doctopus/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/Gastove/doctopus/pulls/comments/28926259"},"html":{"href":"https://github.com/Gastove/doctopus/pull/5#discussion_r28926259"},"pull_request":{"href":"https://api.github.com/repos/Gastove/doctopus/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Gastove/doctopus/pulls/5","id":33884024,"html_url":"https://github.com/Gastove/doctopus/pull/5","diff_url":"https://github.com/Gastove/doctopus/pull/5.diff","patch_url":"https://github.com/Gastove/doctopus/pull/5.patch","issue_url":"https://api.github.com/repos/Gastove/doctopus/issues/5","number":5,"state":"open","locked":false,"title":"WIP Doctopus navigation injection","user":{"login":"jarofghosts","id":1013892,"avatar_url":"https://avatars.githubusercontent.com/u/1013892?v=3","gravatar_id":"","url":"https://api.github.com/users/jarofghosts","html_url":"https://github.com/jarofghosts","followers_url":"https://api.github.com/users/jarofghosts/followers","following_url":"https://api.github.com/users/jarofghosts/following{/other_user}","gists_url":"https://api.github.com/users/jarofghosts/gists{/gist_id}","starred_url":"https://api.github.com/users/jarofghosts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarofghosts/subscriptions","organizations_url":"https://api.github.com/users/jarofghosts/orgs","repos_url":"https://api.github.com/users/jarofghosts/repos","events_url":"https://api.github.com/users/jarofghosts/events{/privacy}","received_events_url":"https://api.github.com/users/jarofghosts/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-22T17:57:55Z","updated_at":"2015-04-22T23:58:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"766277253567d331dd0359e610ec6713fd4cb91c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Gastove/doctopus/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Gastove/doctopus/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Gastove/doctopus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Gastove/doctopus/issues/5/comments","statuses_url":"https://api.github.com/repos/Gastove/doctopus/statuses/f04450593812003c6409dfcd357d91a9dec12a4e","head":{"label":"Gastove:add-iframe","ref":"add-iframe","sha":"f04450593812003c6409dfcd357d91a9dec12a4e","user":{"login":"Gastove","id":3824934,"avatar_url":"https://avatars.githubusercontent.com/u/3824934?v=3","gravatar_id":"","url":"https://api.github.com/users/Gastove","html_url":"https://github.com/Gastove","followers_url":"https://api.github.com/users/Gastove/followers","following_url":"https://api.github.com/users/Gastove/following{/other_user}","gists_url":"https://api.github.com/users/Gastove/gists{/gist_id}","starred_url":"https://api.github.com/users/Gastove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gastove/subscriptions","organizations_url":"https://api.github.com/users/Gastove/orgs","repos_url":"https://api.github.com/users/Gastove/repos","events_url":"https://api.github.com/users/Gastove/events{/privacy}","received_events_url":"https://api.github.com/users/Gastove/received_events","type":"User","site_admin":false},"repo":{"id":31441595,"name":"doctopus","full_name":"Gastove/doctopus","owner":{"login":"Gastove","id":3824934,"avatar_url":"https://avatars.githubusercontent.com/u/3824934?v=3","gravatar_id":"","url":"https://api.github.com/users/Gastove","html_url":"https://github.com/Gastove","followers_url":"https://api.github.com/users/Gastove/followers","following_url":"https://api.github.com/users/Gastove/following{/other_user}","gists_url":"https://api.github.com/users/Gastove/gists{/gist_id}","starred_url":"https://api.github.com/users/Gastove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gastove/subscriptions","organizations_url":"https://api.github.com/users/Gastove/orgs","repos_url":"https://api.github.com/users/Gastove/repos","events_url":"https://api.github.com/users/Gastove/events{/privacy}","received_events_url":"https://api.github.com/users/Gastove/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gastove/doctopus","description":"what the what?","fork":false,"url":"https://api.github.com/repos/Gastove/doctopus","forks_url":"https://api.github.com/repos/Gastove/doctopus/forks","keys_url":"https://api.github.com/repos/Gastove/doctopus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gastove/doctopus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gastove/doctopus/teams","hooks_url":"https://api.github.com/repos/Gastove/doctopus/hooks","issue_events_url":"https://api.github.com/repos/Gastove/doctopus/issues/events{/number}","events_url":"https://api.github.com/repos/Gastove/doctopus/events","assignees_url":"https://api.github.com/repos/Gastove/doctopus/assignees{/user}","branches_url":"https://api.github.com/repos/Gastove/doctopus/branches{/branch}","tags_url":"https://api.github.com/repos/Gastove/doctopus/tags","blobs_url":"https://api.github.com/repos/Gastove/doctopus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gastove/doctopus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gastove/doctopus/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gastove/doctopus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gastove/doctopus/statuses/{sha}","languages_url":"https://api.github.com/repos/Gastove/doctopus/languages","stargazers_url":"https://api.github.com/repos/Gastove/doctopus/stargazers","contributors_url":"https://api.github.com/repos/Gastove/doctopus/contributors","subscribers_url":"https://api.github.com/repos/Gastove/doctopus/subscribers","subscription_url":"https://api.github.com/repos/Gastove/doctopus/subscription","commits_url":"https://api.github.com/repos/Gastove/doctopus/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gastove/doctopus/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gastove/doctopus/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gastove/doctopus/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gastove/doctopus/contents/{+path}","compare_url":"https://api.github.com/repos/Gastove/doctopus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gastove/doctopus/merges","archive_url":"https://api.github.com/repos/Gastove/doctopus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gastove/doctopus/downloads","issues_url":"https://api.github.com/repos/Gastove/doctopus/issues{/number}","pulls_url":"https://api.github.com/repos/Gastove/doctopus/pulls{/number}","milestones_url":"https://api.github.com/repos/Gastove/doctopus/milestones{/number}","notifications_url":"https://api.github.com/repos/Gastove/doctopus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gastove/doctopus/labels{/name}","releases_url":"https://api.github.com/repos/Gastove/doctopus/releases{/id}","created_at":"2015-02-27T22:17:05Z","updated_at":"2015-04-21T16:19:10Z","pushed_at":"2015-04-22T23:39:08Z","git_url":"git://github.com/Gastove/doctopus.git","ssh_url":"git@github.com:Gastove/doctopus.git","clone_url":"https://github.com/Gastove/doctopus.git","svn_url":"https://github.com/Gastove/doctopus","homepage":null,"size":268,"stargazers_count":2,"watchers_count":2,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"Gastove:master","ref":"master","sha":"c78cf2dbd15188c88b9292b5df4e008b7cbd86cb","user":{"login":"Gastove","id":3824934,"avatar_url":"https://avatars.githubusercontent.com/u/3824934?v=3","gravatar_id":"","url":"https://api.github.com/users/Gastove","html_url":"https://github.com/Gastove","followers_url":"https://api.github.com/users/Gastove/followers","following_url":"https://api.github.com/users/Gastove/following{/other_user}","gists_url":"https://api.github.com/users/Gastove/gists{/gist_id}","starred_url":"https://api.github.com/users/Gastove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gastove/subscriptions","organizations_url":"https://api.github.com/users/Gastove/orgs","repos_url":"https://api.github.com/users/Gastove/repos","events_url":"https://api.github.com/users/Gastove/events{/privacy}","received_events_url":"https://api.github.com/users/Gastove/received_events","type":"User","site_admin":false},"repo":{"id":31441595,"name":"doctopus","full_name":"Gastove/doctopus","owner":{"login":"Gastove","id":3824934,"avatar_url":"https://avatars.githubusercontent.com/u/3824934?v=3","gravatar_id":"","url":"https://api.github.com/users/Gastove","html_url":"https://github.com/Gastove","followers_url":"https://api.github.com/users/Gastove/followers","following_url":"https://api.github.com/users/Gastove/following{/other_user}","gists_url":"https://api.github.com/users/Gastove/gists{/gist_id}","starred_url":"https://api.github.com/users/Gastove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gastove/subscriptions","organizations_url":"https://api.github.com/users/Gastove/orgs","repos_url":"https://api.github.com/users/Gastove/repos","events_url":"https://api.github.com/users/Gastove/events{/privacy}","received_events_url":"https://api.github.com/users/Gastove/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gastove/doctopus","description":"what the what?","fork":false,"url":"https://api.github.com/repos/Gastove/doctopus","forks_url":"https://api.github.com/repos/Gastove/doctopus/forks","keys_url":"https://api.github.com/repos/Gastove/doctopus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gastove/doctopus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gastove/doctopus/teams","hooks_url":"https://api.github.com/repos/Gastove/doctopus/hooks","issue_events_url":"https://api.github.com/repos/Gastove/doctopus/issues/events{/number}","events_url":"https://api.github.com/repos/Gastove/doctopus/events","assignees_url":"https://api.github.com/repos/Gastove/doctopus/assignees{/user}","branches_url":"https://api.github.com/repos/Gastove/doctopus/branches{/branch}","tags_url":"https://api.github.com/repos/Gastove/doctopus/tags","blobs_url":"https://api.github.com/repos/Gastove/doctopus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gastove/doctopus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gastove/doctopus/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gastove/doctopus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gastove/doctopus/statuses/{sha}","languages_url":"https://api.github.com/repos/Gastove/doctopus/languages","stargazers_url":"https://api.github.com/repos/Gastove/doctopus/stargazers","contributors_url":"https://api.github.com/repos/Gastove/doctopus/contributors","subscribers_url":"https://api.github.com/repos/Gastove/doctopus/subscribers","subscription_url":"https://api.github.com/repos/Gastove/doctopus/subscription","commits_url":"https://api.github.com/repos/Gastove/doctopus/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gastove/doctopus/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gastove/doctopus/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gastove/doctopus/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gastove/doctopus/contents/{+path}","compare_url":"https://api.github.com/repos/Gastove/doctopus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gastove/doctopus/merges","archive_url":"https://api.github.com/repos/Gastove/doctopus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gastove/doctopus/downloads","issues_url":"https://api.github.com/repos/Gastove/doctopus/issues{/number}","pulls_url":"https://api.github.com/repos/Gastove/doctopus/pulls{/number}","milestones_url":"https://api.github.com/repos/Gastove/doctopus/milestones{/number}","notifications_url":"https://api.github.com/repos/Gastove/doctopus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gastove/doctopus/labels{/name}","releases_url":"https://api.github.com/repos/Gastove/doctopus/releases{/id}","created_at":"2015-02-27T22:17:05Z","updated_at":"2015-04-21T16:19:10Z","pushed_at":"2015-04-22T23:39:08Z","git_url":"git://github.com/Gastove/doctopus.git","ssh_url":"git@github.com:Gastove/doctopus.git","clone_url":"https://github.com/Gastove/doctopus.git","svn_url":"https://github.com/Gastove/doctopus","homepage":null,"size":268,"stargazers_count":2,"watchers_count":2,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Gastove/doctopus/pulls/5"},"html":{"href":"https://github.com/Gastove/doctopus/pull/5"},"issue":{"href":"https://api.github.com/repos/Gastove/doctopus/issues/5"},"comments":{"href":"https://api.github.com/repos/Gastove/doctopus/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Gastove/doctopus/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Gastove/doctopus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Gastove/doctopus/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Gastove/doctopus/statuses/f04450593812003c6409dfcd357d91a9dec12a4e"}}}}