A Jekyll template for a simple workshop website, based on the Minima theme, designed for hosting on gh-pages.
Works best for about 5 pages of instructions, plus index, all written in Markdown. The navigation to the main pages is exposed at top and bottom of each page for easy stepping through the lessons.
p.s. this is the minimal template--for a slightly more refined look, try the Bootstrap version workshop-template-b
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!
The workshop-template
repository is a template project--to get started quickly, make a copy and fill in your own content and customizations.
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.
Add a title in the Markdown content.Using figure include:
images
directory.figure.html
include on its own line.{% include figure.html file="my-cat.jpg" alt="cat" caption="My cat" width="50%" %}
Basic style customization:
main.scss
in the css
folder exposes variables that can customize the basic style of website.$border-color
$link-color
colors linksUsing optional google analytics:
_config.yml
in google-analytics-id:
google-analytics-id:
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.3+ and Jekyll 3.4+; most recently used Jekyll 3.8.1.
My workshop sites using versions of this template: