This is a template repository to build a website using all of the above. It provides a Makefile and GitHub Actions for ease of use. No guarantees, use at your own risk, etc. (see LICENSE).
Uses:
And my own:
- Specs
- Tufte-inspired CSS customizations for Minimal Mistakes based on the Tufte-Pandoc Jekyll theme
- Jekyll-Pandoc-Docker — this is at Jekyll 4.2.0 and Pandoc 2.18 with pandoc-crossref at the moment.
Most everything is loaded as either submodules or gem-based plugins for easier updating.
Because this repository relies on Pandoc and some plugins, it will not work with the standard Github Pages implementation. Feel free to use my custom Docker image listed above.
- Edit the
_config.yml
file to customize your website and suit your needs. This configuration uses the Chicago citation style and expects the bibliography to be at_data/biblio.yaml
but it can all be changed. - Edit
_data/metadata.yaml
and_data/crossref.yaml
to match your website's language and cross-reference handling. - Create
index.md
orindex.html
, pages, posts, and collections as needed. - Test the website by running
make serve
on the command line (known to work on MacOS and Linux so far, Windows users let me know if it works for you).
- The
gh-pages
branch must exist on your GitHub remote repository before attempting to build the website. - You must edit the
.github/workflows/build.yaml
file to include the name of your repository.
jekyll-pandoc-tufte-mmistakes Copyright (C) 2022 Pedro Paulo Palazzo
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.