Skip to content

Commit

Permalink
Clarify docs around pagination options
Browse files Browse the repository at this point in the history
  • Loading branch information
jimniels authored Jun 18, 2018
1 parent c7e2eab commit 5b4889e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@ index_generator:
order_by: -date
```
- **path**: Root path for your blogs index page. (default = '')
- **per_page**: Posts displayed per page. (0 = disable pagination)
- **order_by**: Posts order. (Order by date descending by default)
- **path**: Root path for your blog's index page.
- default: ""
- **per_page**: Posts displayed per page.
- default: [`config.per_page`](https://hexo.io/docs/configuration.html#Pagination) as specified in the official Hexo docs (if present), otherwise `10`
- `0` disables pagination
- **order_by**: Posts order.
- default: date descending

`pagination_dir`

## License

Expand Down

0 comments on commit 5b4889e

Please sign in to comment.