amyquispe / new-tartanhacks-website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is the 2020-2021 Tartanhacks website (under development). We're using Jekyll on GitHub Pages.

Installation

For information about setting up the project locally, check out this document!

I want to...

This is a typical Jekyll project. The Jekyll documentation online is really well put together; you should give it a skim. In the mean time, here's a list of points where you might want to look:

... change the style of the site.

Since this is a Jekyll site, the repetitive content is pulled out into templates. These files are located in _includes/ and _layouts/. Altering these files will alter all files based off of them. You can tell if a file is based off another file if it includes the line layout: <something> or {% include <something> %} somewhere inside it.

To change the stylesheets, you should look in assets/css/. Here' you'll see that we're using Sass, which is a CSS preprocessor. This just means we're using a language that compiles to CSS, instead of writing CSS directly. Look it up online for more information. The main.scss file @imports the files which are located in the folder _sass/. To change the styles, you'll want to change the files located in there.

... add content to the site.

Any file or folder that doesn't start with an underscore will end up being a web page visible to users. To add content, simply create a file that doesn't have a leading underscore.

Jekyll allows you to write content using Markdown, a language that compiles to HTML. You should probably use Markdown, not HTML, to create content. For an example of how this is done, see the frontend/ folder, which contains numerous examples of using Markdown files to generate content. Feel free to use these files as starting points for generating your own content.

License

MIT License. See LICENSE. (c) 2015 ScottyLabs

About

License:MIT License


Languages

Language:HTML 37.7%Language:CSS 34.3%Language:Less 22.3%Language:JavaScript 5.6%Language:Ruby 0.1%