This is a template for an academic course website generated using Jekyll, designed in Bootstrap, and compatible with hosting on Github Pages.
A sample course page formatted via this template can be viewed at http://brentonk.github.io/github-course-starter/.
The template is in the following directories and files. Further explanation
of the directory structure is available in
the Jekyll documentation. These can,
in theory, be left unchanged (except for the base URL in _config.yml
, which
is site-specific).
_config.yml
: YAML configuration file for Jekyll_includes/
: snippets that can be reused throughout the sitecredits_and_license.html
: footer text
_layouts/
: HTML layout templatesdefault.html
: default layoutassignment.md
andnote.md
: layouts for assignments and course notes, respectively
assets/
: CSS stylesheets, fonts, and Javascript code
Your actual course content goes in the following directories and files:
index.md
: course home page in Markdown formatsyllabus.md
: syllabus in Markdown format_assignments/
: a collection containing assignments in Markdown format_data/
: data files in YAML formatcourse.yml
: information about the courseinstructor.yml
: information about the instructorlicense.yml
: (optional) information about the license for course content (e.g., Creative Commons)
_notes/
: a collection containing course notes in Markdown format
- Fork this repository
- Alter the template at will (e.g., replace the default Bootstrap CSS file with one of the more attractive options from Bootswatch)
- Initialize a page for each of your courses by cloning your personal
github-course-starter
- Leave the tracking branch created by
git clone
in place, so you can fetch and merge future changes to the template
- Leave the tracking branch created by
- Filenames for notes and assignments must correspond to the order you wish
them to appear in the navbar, hence
_notes/01-first-note.md
,_notes/02-second-note.md
, and so on. It is probably possible to change this by including a custom ordering variable in the front matter of each note/assignment.