hexo-generator-index

2018-11-09 admin

hexo-generator-index是什么

什么是hexo-generator-index,Index generator for Hexo.

hexo-generator-index使用教程帮助文档

hexo-generator-index

Build Status NPM version Coverage Status

Index generator for Hexo.

Installation

$ npm install hexo-generator-index --save

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 blog’s index page.
    • default: “”
  • per_page: Posts displayed per page.
    • default: config.per_page as specified in the official Hexo docs (if present), otherwise 10
    • 0 disables pagination
  • order_by: Posts order.
    • default: date descending

pagination_dir

License

MIT

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-44991.html

文章标题:hexo-generator-index

回到顶部