mirror of https://github.com/jkjoy/sunpeiwen.git
1.1 KiB
1.1 KiB
hexo-generator-archive
Archive generator for Hexo.
Installation
$ npm install hexo-generator-archive --save
Options
archive_generator:
enabled: true
per_page: 10
yearly: true
monthly: true
daily: false
order_by: -date
- enabled: The default value is true, set to false if you do not want to enable the plugin
- per_page: Posts displayed per page. (0 = disable pagination)
- yearly: Generate yearly archive.
- monthly: Generate monthly archive.
- daily: Generate daily archive.
- order_by: Posts order. (Order by date descending by default)
License
MIT