Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

hexo-generator-topindex

0.3.0 • Public • Published

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

install

npm i hexo-generator-topindex

Downloadsweekly downloads

5

version

0.3.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability