当前位置: 动力学知识库 > 问答 > 编程问答 >

jekyll - The pagination issue of using Octopress with Github pages

问题描述:

I used Octopress to setup my blog with Github pages. Everything is OK. But I can't fix the pagination issues. Specifically, if I click the "older" link on my first blog page, it can't find the right page.

My Blog site is :

http://www.enlangtech.com/blog/

And the corresponding repository is : https://github.com/sherlocktowne/sherlocktowne.github.io

Could you help me to fix it! Thanks!

网友答案:

Your not using the right variable for previous and next links. It's <a href="{{paginator.next_page_path}}"> and <a href="{{paginator.previous_page_path}}">.

See Jekyll paginator documentation.

分享给朋友:
您可能感兴趣的文章:
随机阅读: