Archive template for news & events
Related components and templates:
Create a new yearly archive for each upcoming year. News and events should be created under a monthly archive template. Monthly templates are autocreated when a new yearly archive is created.
The yearly archive page has a default page list (see below) linking to each monthly archive. As news pages are created within a given month for a year, they will automatically populate within the monthly archive pages, which are accessible via this page list.
The following is an example of how to set up a yearly news/events archive template, with the default monthly archive templates.
All news and event templates are created under the appropriate month template.
torontomu.ca | Parent | Child | Child | Child | Page |
[homepage template] | [content template] | [Archive (yearly) template] | [monthly archive] month | News Template, or Event Template |
|
torontomu.ca | /psychology/ | /news-events/ | /2017/ | /02/ | news-story.html |
torontomu.ca | /psychology/ | /news-events/ | /2017/ | /02/ | event-page.html |
News page example: torontomu.ca/web-support/news-updates/2021/01/500-errors-and-how-to-fix-them