hexo/node_modules/hexo-generator-category/README.md

31 lines
850 B
Markdown
Raw Normal View History

2023-10-03 11:14:36 +08:00
# hexo-generator-category
[![Build Status](https://travis-ci.org/hexojs/hexo-generator-category.svg?branch=master)](https://travis-ci.org/hexojs/hexo-generator-category)
[![NPM version](https://badge.fury.io/js/hexo-generator-category.svg)](https://www.npmjs.com/package/hexo-generator-category)
[![Coverage Status](https://img.shields.io/coveralls/hexojs/hexo-generator-category.svg)](https://coveralls.io/r/hexojs/hexo-generator-category?branch=master)
Category generator for [Hexo].
## Installation
``` bash
$ npm install hexo-generator-category --save
```
## Options
``` yaml
category_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)
## License
MIT
[Hexo]: http://hexo.io/