{"action":"created","comment":{"url":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/comments/33886046","id":33886046,"diff_hunk":"@@ -1,23 +1,88 @@\n {% extends \"templates/layouts/default.html\" %}\n \n+{% block intro %}\n+\n+<div class=\"row\">\n+  <h1 align=\"center\">Beers</h1>\n+</div>\n+\n+{% endblock %}\n+\n {% block content %}\n-    <div style=\"background-color:#000;padding:80px 0;\">\n-        <div class=\"container\">\n-            <h1>Beers</h1>\n-            <p>which are great</p>\n-        </div>\n+\n+<div class=\"container-fluid\">\n+  <div class=\"row\">\n+    <h2 align=\"center\">Featured Beers</h2>\n+  </div>\n+\n+  <div class=\"col-md-12\" align=\"center\">\n+    {% for featuredBeer in filters.featuredBeers %}\n+    {% if loop.index0%2 == 0 %}\n+    <div class=\"col-md-12\" align=\"center\">\n+      {% endif %}\n+      {% if featuredBeer.beerImage.url != nil %}\n+      <div class=\"col-md-6\" align=\"center\">\n+        <a href=\"/beerProfile/{{featuredBeer.slug}}\">\n+          <img src=\"{{featuredBeer.beerImage.url}}\" class=\"img-thumbnail\">\n+          <br>\n+          {{featuredBeer.beerName}}\n+        </a>\n+      </div>\n+      {% else %}\n+      <div class=\"col-md-6\" align=\"center\">\n+        <a href=\"/beerProfile/{{featuredBeer.slug}}\">\n+          <img src=\"https://s3.amazonaws.com/upload.uxpin/files/193825/198806/Beer_0000_Layer-Comp-1.png\" class=\"img-thumbnail\">\n+          <br>\n+          {{featuredBeer.beerName}}\n+        </a>\n+      </div>\n+      {% endif %}\n+      {% if loop.index0%2 != 0 %}\n     </div>\n+    {% endif %}\n+    {% endfor %}\n+  </div>       \n \n-    <div style=\"background-color:#202020;padding:80px 0;\">\n-        <div class=\"container\">\n-            <p>Featured beers</p>\n-            <button class=\"btn btn-primary\">Try these beers</button>\n-        </div>\n+  <div class=\"row\">\n+    <h2 align=\"center\">All Beers</h2>\n+  </div>\n+\n+  <div class=\"col-md-12\" align=\"center\">\n+    {% for beer in data.allBeers %}\n+    {% if loop.index0%6 == 0 %}\n+    <div class=\"col-md-12\" align=\"center\">\n+      {% endif %}\n+        <a href=\"/beerProfile/{{beer.slug}}\">\n+        {% if beer.beerImage.url != nil %}\n+        <div class=\"col-md-2\" align=\"center\">\n+          <img src=\"{{beer.beerImage.url}}\" class=\"img-thumbnail\">\n+          <br>\n+          {{beer.beerName}}\n+        </a>\n+      </div>\n+      {% else %}\n+      <div class=\"col-md-2\" align=\"center\">\n+        <a href=\"/beerProfile/{{beer.slug}}\">","path":"templates/views/beers.html","position":75,"original_position":75,"commit_id":"5b06a45314ffdb49761c264e5cb58b554411c620","original_commit_id":"5b06a45314ffdb49761c264e5cb58b554411c620","user":{"login":"lizTheDeveloper","id":915684,"avatar_url":"https://avatars.githubusercontent.com/u/915684?v=3","gravatar_id":"","url":"https://api.github.com/users/lizTheDeveloper","html_url":"https://github.com/lizTheDeveloper","followers_url":"https://api.github.com/users/lizTheDeveloper/followers","following_url":"https://api.github.com/users/lizTheDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/lizTheDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/lizTheDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizTheDeveloper/subscriptions","organizations_url":"https://api.github.com/users/lizTheDeveloper/orgs","repos_url":"https://api.github.com/users/lizTheDeveloper/repos","events_url":"https://api.github.com/users/lizTheDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/lizTheDeveloper/received_events","type":"User","site_admin":false},"body":"This one is right, make the above one look like this one.","created_at":"2015-07-04T08:51:57Z","updated_at":"2015-07-04T08:51:57Z","html_url":"https://github.com/noblebrewer/NobleBrewer/pull/13#discussion_r33886046","pull_request_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/comments/33886046"},"html":{"href":"https://github.com/noblebrewer/NobleBrewer/pull/13#discussion_r33886046"},"pull_request":{"href":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/13","id":39134242,"html_url":"https://github.com/noblebrewer/NobleBrewer/pull/13","diff_url":"https://github.com/noblebrewer/NobleBrewer/pull/13.diff","patch_url":"https://github.com/noblebrewer/NobleBrewer/pull/13.patch","issue_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/issues/13","number":13,"state":"open","locked":false,"title":"Beers2","user":{"login":"mattphoto","id":6167745,"avatar_url":"https://avatars.githubusercontent.com/u/6167745?v=3","gravatar_id":"","url":"https://api.github.com/users/mattphoto","html_url":"https://github.com/mattphoto","followers_url":"https://api.github.com/users/mattphoto/followers","following_url":"https://api.github.com/users/mattphoto/following{/other_user}","gists_url":"https://api.github.com/users/mattphoto/gists{/gist_id}","starred_url":"https://api.github.com/users/mattphoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattphoto/subscriptions","organizations_url":"https://api.github.com/users/mattphoto/orgs","repos_url":"https://api.github.com/users/mattphoto/repos","events_url":"https://api.github.com/users/mattphoto/events{/privacy}","received_events_url":"https://api.github.com/users/mattphoto/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-02T23:09:36Z","updated_at":"2015-07-04T08:51:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce473d99f3fa0885edfe4f5977330d4f23cbd4b3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/13/commits","review_comments_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/13/comments","review_comment_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/issues/13/comments","statuses_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/statuses/5b06a45314ffdb49761c264e5cb58b554411c620","head":{"label":"noblebrewer:beers2","ref":"beers2","sha":"5b06a45314ffdb49761c264e5cb58b554411c620","user":{"login":"noblebrewer","id":12852465,"avatar_url":"https://avatars.githubusercontent.com/u/12852465?v=3","gravatar_id":"","url":"https://api.github.com/users/noblebrewer","html_url":"https://github.com/noblebrewer","followers_url":"https://api.github.com/users/noblebrewer/followers","following_url":"https://api.github.com/users/noblebrewer/following{/other_user}","gists_url":"https://api.github.com/users/noblebrewer/gists{/gist_id}","starred_url":"https://api.github.com/users/noblebrewer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noblebrewer/subscriptions","organizations_url":"https://api.github.com/users/noblebrewer/orgs","repos_url":"https://api.github.com/users/noblebrewer/repos","events_url":"https://api.github.com/users/noblebrewer/events{/privacy}","received_events_url":"https://api.github.com/users/noblebrewer/received_events","type":"Organization","site_admin":false},"repo":{"id":37288032,"name":"NobleBrewer","full_name":"noblebrewer/NobleBrewer","owner":{"login":"noblebrewer","id":12852465,"avatar_url":"https://avatars.githubusercontent.com/u/12852465?v=3","gravatar_id":"","url":"https://api.github.com/users/noblebrewer","html_url":"https://github.com/noblebrewer","followers_url":"https://api.github.com/users/noblebrewer/followers","following_url":"https://api.github.com/users/noblebrewer/following{/other_user}","gists_url":"https://api.github.com/users/noblebrewer/gists{/gist_id}","starred_url":"https://api.github.com/users/noblebrewer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noblebrewer/subscriptions","organizations_url":"https://api.github.com/users/noblebrewer/orgs","repos_url":"https://api.github.com/users/noblebrewer/repos","events_url":"https://api.github.com/users/noblebrewer/events{/privacy}","received_events_url":"https://api.github.com/users/noblebrewer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/noblebrewer/NobleBrewer","description":"Noble Brewer- Node.js edition","fork":false,"url":"https://api.github.com/repos/noblebrewer/NobleBrewer","forks_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/forks","keys_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/teams","hooks_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/hooks","issue_events_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/issues/events{/number}","events_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/events","assignees_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/assignees{/user}","branches_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/branches{/branch}","tags_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/tags","blobs_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/statuses/{sha}","languages_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/languages","stargazers_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/stargazers","contributors_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/contributors","subscribers_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/subscribers","subscription_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/subscription","commits_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/contents/{+path}","compare_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/merges","archive_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/downloads","issues_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/issues{/number}","pulls_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls{/number}","milestones_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/milestones{/number}","notifications_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/labels{/name}","releases_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/releases{/id}","created_at":"2015-06-11T21:50:57Z","updated_at":"2015-06-25T06:17:13Z","pushed_at":"2015-07-04T08:47:42Z","git_url":"git://github.com/noblebrewer/NobleBrewer.git","ssh_url":"git@github.com:noblebrewer/NobleBrewer.git","clone_url":"https://github.com/noblebrewer/NobleBrewer.git","svn_url":"https://github.com/noblebrewer/NobleBrewer","homepage":null,"size":898,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"noblebrewer:master","ref":"master","sha":"c30fd341d59d31623fdc8e921791e82ca63b22d1","user":{"login":"noblebrewer","id":12852465,"avatar_url":"https://avatars.githubusercontent.com/u/12852465?v=3","gravatar_id":"","url":"https://api.github.com/users/noblebrewer","html_url":"https://github.com/noblebrewer","followers_url":"https://api.github.com/users/noblebrewer/followers","following_url":"https://api.github.com/users/noblebrewer/following{/other_user}","gists_url":"https://api.github.com/users/noblebrewer/gists{/gist_id}","starred_url":"https://api.github.com/users/noblebrewer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noblebrewer/subscriptions","organizations_url":"https://api.github.com/users/noblebrewer/orgs","repos_url":"https://api.github.com/users/noblebrewer/repos","events_url":"https://api.github.com/users/noblebrewer/events{/privacy}","received_events_url":"https://api.github.com/users/noblebrewer/received_events","type":"Organization","site_admin":false},"repo":{"id":37288032,"name":"NobleBrewer","full_name":"noblebrewer/NobleBrewer","owner":{"login":"noblebrewer","id":12852465,"avatar_url":"https://avatars.githubusercontent.com/u/12852465?v=3","gravatar_id":"","url":"https://api.github.com/users/noblebrewer","html_url":"https://github.com/noblebrewer","followers_url":"https://api.github.com/users/noblebrewer/followers","following_url":"https://api.github.com/users/noblebrewer/following{/other_user}","gists_url":"https://api.github.com/users/noblebrewer/gists{/gist_id}","starred_url":"https://api.github.com/users/noblebrewer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noblebrewer/subscriptions","organizations_url":"https://api.github.com/users/noblebrewer/orgs","repos_url":"https://api.github.com/users/noblebrewer/repos","events_url":"https://api.github.com/users/noblebrewer/events{/privacy}","received_events_url":"https://api.github.com/users/noblebrewer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/noblebrewer/NobleBrewer","description":"Noble Brewer- Node.js edition","fork":false,"url":"https://api.github.com/repos/noblebrewer/NobleBrewer","forks_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/forks","keys_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/teams","hooks_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/hooks","issue_events_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/issues/events{/number}","events_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/events","assignees_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/assignees{/user}","branches_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/branches{/branch}","tags_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/tags","blobs_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/statuses/{sha}","languages_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/languages","stargazers_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/stargazers","contributors_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/contributors","subscribers_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/subscribers","subscription_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/subscription","commits_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/contents/{+path}","compare_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/merges","archive_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/downloads","issues_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/issues{/number}","pulls_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls{/number}","milestones_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/milestones{/number}","notifications_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/labels{/name}","releases_url":"https://api.github.com/repos/noblebrewer/NobleBrewer/releases{/id}","created_at":"2015-06-11T21:50:57Z","updated_at":"2015-06-25T06:17:13Z","pushed_at":"2015-07-04T08:47:42Z","git_url":"git://github.com/noblebrewer/NobleBrewer.git","ssh_url":"git@github.com:noblebrewer/NobleBrewer.git","clone_url":"https://github.com/noblebrewer/NobleBrewer.git","svn_url":"https://github.com/noblebrewer/NobleBrewer","homepage":null,"size":898,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/13"},"html":{"href":"https://github.com/noblebrewer/NobleBrewer/pull/13"},"issue":{"href":"https://api.github.com/repos/noblebrewer/NobleBrewer/issues/13"},"comments":{"href":"https://api.github.com/repos/noblebrewer/NobleBrewer/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/noblebrewer/NobleBrewer/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/noblebrewer/NobleBrewer/statuses/5b06a45314ffdb49761c264e5cb58b554411c620"}}}}