Skip to content

netcan/hexo-generator-index-pin-top

This branch is 3 commits ahead of, 74 commits behind hexojs/hexo-generator-index:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 25, 2017
3e3724f · Oct 25, 2017

History

26 Commits
Oct 24, 2017
Jul 4, 2017
Nov 1, 2015
Feb 6, 2016
Dec 29, 2014
Feb 6, 2016
Nov 1, 2015
Jun 12, 2017
Dec 29, 2014
Oct 25, 2017
Nov 1, 2015
Oct 25, 2017

Repository files navigation

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

About

Index generator plugin for Hexo. Pin top version

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%