This is a customized version of the Just the Docs theme for the Map and Data Library at the University of Toronto Libraries.
This repository is a GitHub template repository that you can use to create your own documentation site using the Just the Docs theme.
To create a new site using this template, click the green "Use this template" button above. This will create a new repository in your GitHub account with the contents of this repository.
You can use this repository as a remote theme, powered by the jekyll-remote-theme plugin.
To do so, add the following two lines to your site's _config.yml file:
remote_theme: "MDLutoronto/jtd-theme"
plugins:
- ... (if you have other plugins)
- jekyll-remote-themeAlso, you need to install the jekyll-remote-theme (version 0.4.3) gem by adding this line to your Gemfile:
gem "jekyll-remote-theme", "~> 0.4.3"You can set the following options in your site's _config.yml file to customize site-wide information:
- workshop_series_name: Set this to the name of your workshop series to have it displayed in that page. For example:
workshop_series_name: "NAME OF YOUR WORKSHOP SERIES"This will display This workshop is part of the {{NAME OF YOUR WORKSHOP SERIES}} in the footer of each page.
By default, the theme displays a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license icon in the footer of each page, linking to the CC BY-SA 4.0 license.
You can set the following options to display license information in the footer of the site that applies to all pages:
- license_name: Set this to the name of the license. For example:
license_name: "CC BY 4.0"- license_url: Set this to the URL of the license. For example:
license_url: "https://creativecommons.org/licenses/by/4.0/"- license_image_url: Set this to the URL of the license image you want to display. For example:
license_image_url: "https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-sa.svg"You can set the following options in the front matter of your pages to customize the footer information:
- created_date: Set this to the date the page was created. For example:
created_date: 2025-10-06- last_modified_date: Set this to the date the page was last modified. For example:
last_modified_date: 2025-10-07This will display Content created: October 06, 2025 | Last updated: October 07, 2025 in the footer of the page.
If only one of these options is set, only that information will be displayed.
- staff_name: Set this to the name of the staff member who created the page. For example:
staff_name: Ken Lui- staff_link: Set this to the URL of the staff member's profile or website. For example:
staff_link: https://library.utoronto.ca/staff/ken-luiThis will display Tutorial created by Ken Lui in the footer of the page, with Ken Lui being a link to the specified URL. If no link is provided, the name will be displayed as plain text.
- student_name: Set this to the name of the student staff member who created the page. For example:
student_name: Jane Doe- student_link: Set this to the URL of the student staff member's profile or website. For example:
student_link: https://library.utoronto.ca/staff/jane-doeThis will display Tutorial created by Jane Doe in the footer of the page, with Jane Doe being a link to the specified URL. If no link is provided, the name will be displayed as plain text.
To test the theme locally, you need to have Ruby and Bundler installed.
- Clone the repository:
git clone https://github.com/MDLutoronto/jtd-theme.git- Navigate to the repository directory:
cd jtd-theme- Install the dependencies and serve the site with live reload:
bundle install && bundle exec jekyll serve --livereload- Open your web browser and go to
http://localhost:4000to view the site.
If the deployment keeps looping the following messages:
...
Current status: deployment_queued
Getting Pages deployment status...
...A way to fix is is to go to the repository's Settings > Pages, unpublish the site by clicking the Unpublish site button, then republish it by clicking the Save button.
Another way to fix it is to try the following steps:
- Cancel the current deployment if it's still in progress.
- Go to the repository's Settings > Pages. Find the
Sourceunder the Build and deployment section, change it toDeploy from a branch - Wait for a few seconds, then change it back to
GitHub Actions. - Retrigger the deployment by pushing a new commit, or re-running the workflow under the Actions > Deploy Jekyll site to Pages.