Skip to content

hexojs/hexo-generator-archive

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

hexo-generator-archive

Build Status NPM version Coverage Status

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