Having re -read the documentation, i am unable to figure out whats missing. Can you help?
Duplicate of #554. See that issue for fixes:
I found that recent posts wouldn't show up if I forgot to change index.md created by jekyll new into index.html. This is required by pagination.
I had the same problem, but for me, it was because the paginate plugin wasn't configured properly. These 2 lines were commented out:
paginate: 10 # amount of posts to show
paginate_path: /page:num/
Uncommented them and my posts are now listed. In case anyone has the same problem...
Don't forget to create index.html and put
---
layout: home
---
I had this problem too. The solution was to ensure that index.html was in the root directory and to remove permalink from the front matter. As per here you can't use permalink in the front matter - it will break pagination.
I read the docs again and now I'm manage to make it work.
3 files need to be changed:
vim recent/index.html
layout: home
author_profile: true
---
vim _data/navigation.yml
main:
- title: "Recent"
url: /recent/
vim _config.yml
paginate: 10
paginate_path: /recent/page:num/
Most helpful comment
554 seems to be about related post and not recent posts.
I found that recent posts wouldn't show up if I forgot to change
index.mdcreated byjekyll newintoindex.html. This is required by pagination.