Unable to Enable Pagination


#1

I’ve attempted to enable pagination on a blog following the doc instructions and have been unable to get it to work. Two issues I’m running into:

  1. Previous and next page links render errors (e.g. ERROR /blog/page3/ not found.)
  2. The forloop is outputting the posts in the wrong order (so index.html loads on page 4)

I believe I’ve installed the plugin correctly, and have listed it in my config.yml file.

Here is a link. What am I doing wrong here?


#2

Hmm… Try omitting the permalink in the front matter of your index.html (where you have the paginator loop). As per https://jekyllrb.com/docs/pagination/


#3

That did it. Thank you!!! I had misinterpreted the docs, thinking you couldn’t specify permalinks for the posts themselves.