-
Notifications
You must be signed in to change notification settings - Fork 9
Process to archive prior year
Before a new year's website is created, the prior year's website is archived. Sites for previous years are accessible via a drop down list from the main page header:
Previous years are also retrievable by adding /YYYY
after the main base URL. For example https://uc-love-data-week.github.io/2023/
.
Archiving process:
For current live site, permalinks are named to correspond to named page on website, such as https://uc-love-data-week.github.io/agenda
. For archiving, permalinks include the associated year in /YYYY/
prior to the named page, such as https://uc-love-data-week.github.io/2023/agenda
.
Edit .html file headers permalink to be: permalink: /YYYY/agenda
Similar to above, live site header menu is default named to not include year. Header menu on archived site needs to include year, to keep year's site self-contained, rather than redirect back to live/current year site.
In header-menu.html
in that year's _includes/YYYY_includes
folder, update all header options - workshops, calendar, contacts, etc. - to include year.
Be sure to also add the year to the dropdown menu for 'previous years'.
Also need to update workshops_info.html
in includes
to reflect year:
See scripts readme file (FEEDME.md) for full details.
Getting Started
Reference