{"action":"opened","issue":{"url":"https://api.github.com/repos/CCSF-Coders/ccsf_coders_website/issues/2","labels_url":"https://api.github.com/repos/CCSF-Coders/ccsf_coders_website/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/CCSF-Coders/ccsf_coders_website/issues/2/comments","events_url":"https://api.github.com/repos/CCSF-Coders/ccsf_coders_website/issues/2/events","html_url":"https://github.com/CCSF-Coders/ccsf_coders_website/issues/2","id":53559758,"number":2,"title":"move content of layout divs (page nav, sidebar, footer) into single file","user":{"login":"kmolo","id":4886396,"avatar_url":"https://avatars.githubusercontent.com/u/4886396?v=3","gravatar_id":"","url":"https://api.github.com/users/kmolo","html_url":"https://github.com/kmolo","followers_url":"https://api.github.com/users/kmolo/followers","following_url":"https://api.github.com/users/kmolo/following{/other_user}","gists_url":"https://api.github.com/users/kmolo/gists{/gist_id}","starred_url":"https://api.github.com/users/kmolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmolo/subscriptions","organizations_url":"https://api.github.com/users/kmolo/orgs","repos_url":"https://api.github.com/users/kmolo/repos","events_url":"https://api.github.com/users/kmolo/events{/privacy}","received_events_url":"https://api.github.com/users/kmolo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-06T20:34:25Z","updated_at":"2015-01-06T20:34:25Z","closed_at":null,"body":"Moving issue from https://github.com/mrpaxton/ccsf_coders_website/issues/19\r\n\r\n> Regarding this issue, we will make the page navigations, footer, and sidebars reside in only one file. We will then have a script to populate the codes and render the html codes for each of the webpage. This will result in the ease of development because we will never have to repeat ourselves when creating new pages or updating some of the common components. Stay [DRY](http://en.wikipedia.org/wiki/Don't_repeat_yourself) :)\r\n\r\nCurrently have to edit all of the following active files to change the content of these layout divs:\r\n - index.html ([GitHub](https://github.com/CCSF-Coders/ccsf_coders_website/blob/master/index.html)) ([website](https://www.ccsf.edu/coders))\r\n - aboutus.html ([GitHub](https://github.com/CCSF-Coders/ccsf_coders_website/blob/master/aboutus.html)) ([website](http://hills.ccsf.edu/~coders/aboutus.html))\r\n - calendar.html ([GitHub](https://github.com/CCSF-Coders/ccsf_coders_website/blob/master/calendar.html)) ([website](http://hills.ccsf.edu/~coders/calendar.html)) -- only page nav & footer here, no sidebar\r\n - contact.html ([website](https://github.com/CCSF-Coders/ccsf_coders_website/blob/master/contact.html)) ([website](http://hills.ccsf.edu/~coders/contact.html))\r\n - history.html ([GitHub](https://github.com/CCSF-Coders/ccsf_coders_website/blob/master/history.html)) ([website](http://hills.ccsf.edu/~coders/history.html))\r\n - irc.html ([GitHub](https://github.com/CCSF-Coders/ccsf_coders_website/blob/master/irc.html)) ([website](http://hills.ccsf.edu/~coders/irc.html))\r\n\r\nAlso found in these unlinked, but still live files:\r\n - acalc.html ([GitHub](https://github.com/CCSF-Coders/ccsf_coders_website/blob/master/acalc.html)) ([website](http://hills.ccsf.edu/~coders/acalc.html))\r\n - mlinks.html ([GitHub](https://github.com/CCSF-Coders/ccsf_coders_website/blob/master/mlinks.html)) ([website](http://hills.ccsf.edu/~coders/mlinks.html))\r\n - related_clubs.html ([GitHub](https://github.com/CCSF-Coders/ccsf_coders_website/blob/master/related_clubs.html)) ([website](http://hills.ccsf.edu/~coders/related_clubs.html))\r\n - resources.html ([GitHub](https://github.com/CCSF-Coders/ccsf_coders_website/blob/master/resources.html)) ([website](http://hills.ccsf.edu/~coders/resources.html))\r\n\r\nThe following file doesn't contain any of these layout divs currently:\r\n - gallery.html ([GitHub](https://github.com/CCSF-Coders/ccsf_coders_website/blob/master/gallery.html)) ([website](http://hills.ccsf.edu/~coders/website.html))"}}