NanoSmasher / make.skule.ca

Template for the MAKE club website for anyone to use.

Home Page:http://make.skule.ca

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

M.A.K.E. Website theme

Website derived from Jero's freelancer theme which is in turn based on the Freelancer bootstrap theme. This means I used Twitter Bootstrap just like every other website these days.

The website is currently being hosted by the UofT Skule M.A.K.E. Club. Check it out!

Managing the website

Overview of site

Jekyll is a static site builder that use:

  • Liquid Templating System
  • Markdown Post Rendering
  • Leagues Of Legends (lol)

The home page or index.html looks like this:

---
layout: default
---

Not very informatative huh? What it actually does is to read and cpoy the contents of the /_layouts/default.html file instead. That file asks jekyll to use the files found in /_includes, with a couple of extra tags thrown in.

Each subfile in /_includes contains a section of html code. But here's the catch; since you are still reading it from the /index.html the base path is "/" hence why all my images seem to work. Otherwise, most of the code is really nice to manage.

The style.css file is processed exactly the same way as the index.html file.

Editing the site

Luckily, there is very little you need understand to actually change it up. All you need to focus on is the _posts and img folder, as well as the _config.yml file.

  • _posts hold all the events. Just follow the format.
  • img is also self-explanatory. Make sure the images are the correct dimensions/file names.
  • _config.yml is self-explanatory as well, but there is alot of things you can change. They include:
    • Description of website
    • Front page news bulletin
    • List of sponsors
    • List of team members and more

Setting up is as easy as 1, 2, 3!

  1. Install Ruby, RubyDevKit, and Jekyll. Windows users can just download Portable Jekyll and run setpath.cmd. (Some zip programs have problems extracting so make sure to cross check with the repository)

  2. Go to the root folder where index.html is found and type in:

    jekyll build
  3. FTP (or manually copy files one by one) everything in the _site folder to wherever you want. It wil most likely be the /public_html folder.

Changes

In terms of jekyll structure, there is not much difference between my code and Jero's. But looking at the sites side by side there is a huge difference. This is by no means exhaustive but here are some things I've adapted:

  • Font: Switched from Font Awesome -> Glyphicons
  • Icons: Some from Modern UI Icons and others found by Ruandre
  • JS: Removed form-type scripts and updated to the newest BS.min
  • CS: personalized main.css
  • includes: a bunch of name changes and code changes
  • Bootstrap: Regrouped certain sections with difference padding/margins
  • Liquid: More looping tags
  • Palette: Now uses the google material design palette
  • Layout: just generally different

Voila! Thanks for reading ~ Nanosmasher

About

Template for the MAKE club website for anyone to use.

http://make.skule.ca

License:Apache License 2.0


Languages

Language:HTML 61.0%Language:CSS 35.1%Language:JavaScript 2.8%Language:ApacheConf 1.1%