-
Notifications
You must be signed in to change notification settings - Fork 84
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 doesn't generate page directories when permalink is set #25
Comments
/cc #23. Thanks! |
Ah sorry for the dupe...I checked the issues before filing but didn't check the duplicates. Glad it's getting fixed! |
This tripped me up for around 30 mins as well. Can someone please update the docs here to express this warning? http://jekyllrb.com/docs/pagination/ |
@corysimmons Would you be able to submit a pull request? That page is here: https://github.com/jekyll/jekyll/blob/master/site/_docs/pagination.md |
(Issue copied from jekyll/jekyll#3471)
This tripped me up for 30 mins or so. I was trying to paginate
/blog/index.html
, but I hadpermalink: /blog
set (I'm a n00b and I don't know what I'm doing). I did havepaginate_path set
correctly. The result was that visiting/blog
would always start on the last page of pagination and be unable to find the other pages. None of the/blog/pageN/directories
were generated.In retrospect I can kind of understand what's going on. I suppose jekyll wanted to write
_site/blog/page2/index.html
, but permalink overrode it to write_site/blog/index.html
, so each page was written to the same file. Perhaps an error when you keep overwriting the same file would help n00bs like me!The text was updated successfully, but these errors were encountered: