This theme provides layouts, includes, styles and assets to be used in any Gather Workshops topic site built using Jekyll.
-
Web
GitHub Project | Live Site -
Python
GitHub Project | Live Site -
Arduino
GitHub Project | Live Site -
jQuery
GitHub Project | Live Site
To create a new Jekyll site which uses this theme:
- Install Jekyll
- Create a project folder for your Jekyll site
- Generate a new Jekyll site in your project folder
- Add this project to your site's root in a folder called
theme
- Modify your
_config.yml
to use the correct paths - Start your server
Here is an example of a typical _config.yml
for a Jekyll site using this theme:
name: Gather Workshops
baseurl: "/"
theme_assets: "/theme/assets"
theme_images: "/theme/assets/images"
course_images: "/media/images"
markdown: kramdown
exclude: ["node_modules", "Gemfile", "Gruntfile.js", "package.json", "README.md"]
kramdown:
input: GFM
enable_coderay: false
# Where things are
source: .
destination: ./_site
layouts_dir: ./theme/_layouts
includes_dir: ./theme/_includes
sass:
sass_dir: ./theme/_sass
# custom collections
collections:
assets:
output: true
courses:
output: true
layout: chapter
# theme
themecolor: "#466f1b"
This theme is intended to be used for a site which consists of:
- A home page
- One or more courses
- Multiple chapters per course
- Each chapter having a slideshow and some optional supporting content
This theme can be added to your project as a submodule. This will allow you to easily pull new theme updates in future.
Some file patterns you may like to add to your .gitignore
file:
# Don't check in the generated site
_site/*
# Cache files used by sass can be safely ignored
.sass-cache/*
*.scssc