Giter Site home page Giter Site logo

eopeters / canoe.skule.ca Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nanosmasher/canoe.skule.ca

0.0 2.0 0.0 28.51 MB

UofT Canoe club website theme for everyone to see

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

ApacheConf 0.34% HTML 26.07% CSS 66.79% JavaScript 3.92% PHP 2.89%

canoe.skule.ca's Introduction

Canoe Club Website theme

A website is a heavy modification from st4ple's jekyll version of the Solid theme by blacktie.co.

Managing the website

This website was built with Jekyll. Jekyll is a static site builder that uses the Liquid Templating System and Markdown Post Rendering (with extra bits like Sass compilers and pagination).

For an example, let's look at index.html. It starts out with:

---
layout: default
---
  • The actual index you find at canoe.skule.ca, is automatically generated in _site/index.html
  • The layout line tells Jekyll to create a page starting with a layout template found in _layouts/default.html.
  • When Jekyll encounters an {% include %} tag it looks in the include folder for that name. (e.g. _includes/head.html will replace {% include head.html %})
  • _includes/head.html has several liquid tags mainly divided into variables and functions. Most are variables that pull information from the website (_config.yml), the page (index.html), or somewhere else.
  • When a {{ content }} tag is found, all the information in the index.html after the dashed header replaces the {{ content }} tag.
  • Other html files on the root of the directory as well as files in _posts work the same way, but the generated html file will be located in other places within _site. So don't be changing any of the files in _site it's all done for you!

Setting up the repository

Installation

  1. Install Notepad++ or an equivalent. Do not use Windows Notepad becuase it does not support Unix line endings
  2. Install Jekyll.
  1. (OPTIONAL) Using Git and GitHub really helps with managing the website.

Basic Operations

  • DOWNLOADING: If you have Git installed, clone or fork the repo. Otherwise, download the zip file.
  • CHECKING WORK: Go to command line and run "jekyll serve" inside the mse.skule.ca folder.
  • UPDATING SKULE: Copy the contents of the _site folder to public_html, deleting everything that previously exist there.
    • note: Make sure you delete the contents of public_html and not the folder itself, so that the index should be found at ~/public_html/index.html.

Editing information

Members

They are found in _data/members.yml. Please mimic all the spaces/quotes/dashes perfectly, as even one extra character can cause unexpected results. Or you can read up on YML to understand what is going on.
Images for members are found in assets/img/members and have dimensions of 600x600. Other sizes can cause problems.

Canoes

Look in the _posts/canoes folder and follow the template provided. It should be quite intuitive. All posts must have a YYYY-MM-DD-[name].md format to actually show up on the website. Images are found in the assets/img/canoes folder. The thumbnail has a set size of 600x450.

Sponsors

Follow the format presented in _data/sponsors.yml. Pictures are 500x246 transparent pngs found in assets/img/sponsors.
The sponsorship package is currently assets/2015-Sponsorship-Package.pdf and is hardcoded on line 64 of sponsors.html.

Development

Look in the _posts/development folder and assets/img/development for a general idea of the process.

Background/color changes

The background image and the little favicon are in the assets/img folder.
To edit the site colors (making up the navigation, footer, and buttons) look for it in _config.yml

Voila! Thanks for reading ~ Nanosmasher

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.