Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify docs around pagination options #17

Merged
merged 1 commit into from
Aug 21, 2018
Merged

Clarify docs around pagination options #17

merged 1 commit into from
Aug 21, 2018

Conversation

jimniels
Copy link
Contributor

@jimniels jimniels commented Jun 18, 2018

I was having a hard time figuring out how this particular plugin worked with the configuration options in the official hexo docs. After looking at the code, it appears it inherits those values (if present), so this was an attempt to merely clarify that in the README.

For example, if you have per_page in your hexo config, then this plugin is going to use that, i.e.

# _confg.yaml
# Both of these accomplish the same thing
per_page: 40       # specified in hexo docs
index_generator: # specified in hexo-generator-index docs
  per_page: 40

@coveralls
Copy link

coveralls commented Jun 18, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 5b4889e on jimniels:patch-1 into c7e2eab on hexojs:master.

@NoahDragon NoahDragon merged commit 8832321 into hexojs:master Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants