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

Pagination nav breakage when adjusting paginate_path within _config.yml #1855

Closed
jaybe-jekyll opened this issue Sep 28, 2018 · 3 comments
Closed

Comments

@jaybe-jekyll
Copy link
Contributor

Description

Changing _config.yml value, paginate_path: to /page/:num/ results in pagination navigation breaking. For example, previous page link becomes, e.g. http://site.local:4000/page/:num/

Environment

Current/Stable

Expected behavior

Correct and adjusted pagination navigation.

Steps to reproduce the behavior

Adjust _config.yml value, paginate_path: to /page/:num/

@mmistakes
Copy link
Owner

You have a public/test repo that illustrates this bug?
I just modified the /test repo the theme has and changed paginate_path: /page/:num/ and everything works as expected.

screen shot 2018-09-28 at 8 49 19 pm

@jaybe-jekyll
Copy link
Contributor Author

I should have mentioned the additional changes of adding gem jekyll-paginate-v2 and its base configuration within _config.yml.

jekyll-paginate-v2 advised to unset paginate: or set to off. I commented it out.

@mmistakes
Copy link
Owner

mmistakes commented Sep 29, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants