Jekyll paginate
问题 I am trying to paginate a list of blog posts in jekyll, but cant seem to get it working. Here's my setup I have a blog directory under my root directory which has a index.md. I have used the following code from the jekyll website <ul> {% for post in paginator.posts %} <li><h1><a href="{{ post.url }}">{{ post.title }}</a></h1></li> {% endfor %} </ul> I have the following in my _config.yml paginate: 10 nothing get's displayed. Any suggestions as to where I am messing up? Update - Dir structure