The archive page is a collection of posts grouped by year.


The pages aren’t not created automatically, we need to create archives sections first:

1$ tree content/archives
2├── 2021
3│   ├──
4├── 2022
5│   ├──

The content of those files just contain a title parameter.

Site Parameters

Name Type Default Description
archive Object - Archive.
archive.dateFormat Integer Jan 2 Archive date format.
archive.basePath String /archives