Index generator plugin for Hexo. Pin top version
Clone or download
Pull request Compare This branch is 3 commits ahead, 4 commits behind hexojs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.eslintignore
.eslintrc
.gitignore
.jscsrc
.npmignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

hexo-generator-index-pin-top

Build Status NPM version Coverage Status

Index generator for Hexo. Pin top version

Installation

$ npm uninstall hexo-generator-index --save
$ npm install hexo-generator-index-pin-top --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 = '')
  • per_page: Posts displayed per page. (0 = disable pagination)
  • order_by: Posts order. (Order by date descending by default)

License

MIT