歸檔頁面按照年份對文章進行歸檔。

前置條件

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

1+++
2title = "歸檔"
3layout = "archive"
4+++

網站參數

名稱類型預設值描述
archiveObject-Archive.
archive.paginateInteger100Archive pagination.
archive.dateFormatIntegerJan 2Archive date format.