hexo-generator-index-w-notshow

0.1.1 • Public • Published

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: URL format.
    • default: 'page'
    • awesome-page makes the URL ends with 'awesome-page/' for second page and beyond.

License

MIT

/hexo-generator-index-w-notshow/

    Package Sidebar

    Install

    npm i hexo-generator-index-w-notshow

    Homepage

    hexo.io/

    Weekly Downloads

    2

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    4.08 kB

    Total Files

    5

    Last publish

    Collaborators

    • yolofa