Top and Index generator for Hexo.
JavaScript
Switch branches/tags
Clone or download
Pull request Compare This branch is 3 commits ahead, 5 commits behind hexojs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.eslintignore
.eslintrc
.gitignore
.npmignore
LICENSE
README.md
index.js
package.json

README.md

hexo-generator-topindex

Top and Index generator for Hexo.

Installation

$ npm install hexo-generator-topindex --save

Options

topindex_generator:
  per_page: 10
  order_by: -date
  • per_page: Posts displayed per page. (0 = disable pagination)
  • order_by: Posts order. (Order by date descending by default)

Post set

You can set property top to finish top, the higher the priority

---
title: Hello World
date: 2017-03-12 19:45:02
top: 5
categories: "Hexo Guid" 
tags: [Hexo]
description: Hello world on hexo!
---
Welcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues).

License

MIT