A Jekyll template for a simple workshop website, with a Bootstrap theme, designed for hosting on gh-pages.
Works best for about 5 pages of instructions, plus an index page, all written in Markdown. The navigation to the main pages is exposed at top and bottom of each page for easy stepping through the sections.
Note: for a more minimal version, try the original workshop-template
Rather than making slides for a workshop, why not make a website? It's easier to write, access, share, and reuse. GitHub and gh-pages makes this super easy.
It is a better Open Educational Resource since anyone can fork and adapt!
This repo is the demo skeleton. The site demonstrates the output on gh-pages, and the content pages serve as examples.
Overview:
_config.yml
with your info.When creating content pages:
nav: true
to the file's yml front matter.title:
value will appear in the nav, sorted in the order of filenames. For simplicity use leading numbers in the lesson page filenames to create correct order.title
to the page, so it can be a short for the nav. Thus, add a title in the Markdown content.Using figure include:
images
directory.figure.html
include on its own line.{% include figure.html img="my-cat.jpg" alt="cat" caption="My cat" width="50%" %}
Basic style customization:
custom.scss
in the assets/css
folder exposes variables that can customize the basic style of website.$top-border
$link-color
colors linksUsing optional google analytics:
_config.yml
in google_analytics:
google_analytics:
is blank, the ga code will not addedJEKYLL_ENV=production jekyll build
Repository does not include a Gemfile because it is a very simple project. Originally built using Ruby 2.5+ and Jekyll 3.7+; most recently used Jekyll 4.0.0.
My workshop sites using an minimal version of this template (no bootstrap):