hexo-generator-index-pin-top

Index generator for Hexo.(pin top version)

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
hexo-generator-index-pin-top
4900.2.26 years ago6 years agoMinified + gzip package size for hexo-generator-index-pin-top in KB

Readme

hexo-generator-index
Build Status NPM version Coverage Status
Index generator for Hexo.

Installation

$ npm install hexo-generator-index --save

Feautres

This version supports pin-top feature, you can add the top: True field to post's front-matter to pin it.

Options

Add or modify the following section to your root config.yml file
index_generator:
  path: ''
  per_page: 10
  order_by: -date

  • path: Root path for your blogs index page. (default = '')
  • perpage: Posts displayed per page. (0 = disable pagination)
  • order
by: Posts order. (Order by date descending by default)

License

MIT