guelphcodingcommunity.github.io is the source for the Guelph Coding Community's main website (hosted at GuelphCode.com).
It uses the awesome Jekyll gem to compile a static website out of basic HTML, CSS, Javascript, and Markdown files.
To host a copy of the website or test on your own machine please see INSTALL.md
Issues are tracked by the built-in issue tracking functionality of Github.
If you believe that the site has a mistake, is missing a feature, or should have an enhancement, please raise it as an issue on the repository.
Members of the Github organization for the Guelph Coding Community have permission to merge pull requests and close issues. Contributors who are not a part of the organization can request approval or submit a pull request.
###Creating a new event
New events are written in Markdown and are picked up on the events page automatically. A list of all events that are scheduled or have passed can be found in the _posts/events folder.
- Create a new markdown file in the _posts/events folder. The title should follow the naming scheme of YEAR-MONTH-DAY-post-title.md.
- Add the YAML frontmatter to the beginning of the file. The specific frontmatter to include can be found in the template file. Specify the category as event, add any appropriate tags, and provide the eventinfo details.
- Write the content for the event below the frontmatter.
- You're done! Jekyll will automatically pull the info out of the file and compile everything to the right place.
###Creating a new blog post
New blog posts are written in Markdown and are picked up on the news page automatically. A list of all blog posts can be found in the _posts/news folder.
- Create a new markdown file in the _posts/news folder. The title should follow the naming scheme of YEAR-MONTH-DAY-post-title.md.
- Add the YAML frontmatter to the beginning of the file. The specific frontmatter to include can be found in the template file. Specify the category as news, and add any appropriate tags.
- Write the content for the blog post below the frontmatter.
- You're done! Jekyll will automatically pull the info out of the file and compile everything to the right place.
###Changing styles
The style of the website is managed using LESS in the less/main.less file. It is then compiled down to the linked css in css/main.css.
Changing the style of an element should be done in LESS then compiled to CSS, and pushed in the same commit. This allows us to keep the LESS and CSS in sync.
Including new styles (across all pages) can be done by adding to _includes/styles.html. It is not currently possible to add styles for a single page.