Generally speaking, follow the instructions at
to build the website locally, and run a webserver to inspect your local changes.
Run the following to re-build automatically when your files change:
bundle exec jekyll serve --host 0.0.0.0 --incremental
To duplicate a page from the previous year (let's say 2021), to create a page for the new year (let's say 2022), the following changes are necessary:
- Copy the static files with
cp -r 2021/ 2022/
- Copy the layout file with
cp _layouts/layout_2021.html _layouts/layout_2022.html
- Make copies of
_includes/head_2021.html
,_includes/header_2021.html
, and_includes/footer_2021.html
- Add entry button for new year in
_includes/header_common.html
- Copy the main content file with
cp _pages/home_2021.md _pages/home_2022.md
- Edit the top lines in
_pages/home_2022.md
such that the new year is reflected, the new files are used, and the new page is actually generated by Jekyll. - Edit
index.html
to refresh to the new page.