Archive Page

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

Prerequisites

We need to create a page called archives/_index.md in the content directory.

1+++
2title = "Archives"
3layout = "archive"
4+++

Site Parameters

Name Type Default Description
archive Object - Archive.
archive.paginate Integer 100 Archive pagination.
archive.dateFormat Integer Jan 2 Archive date format.

Copyright

CC BY-NC-ND 4.0

Comments