2013-12-16 127 views
0

我一直在玩Jekyll和本地一切工作正常。然而,一旦推到Github并从Gitpages运行,我的帖子页面的分页无法正常工作。它正在分页。我得到了一个下一个箭头,但是一旦点击了,你就会保持在同一页面上,所以我猜它不会正确生成页面。Jekyll分页只能在本地工作,不能在活服务器上工作

我的配置是这样的:

name: Sitename 
description: "A description of your site" 

root:/
permalink: /posts/:year/:month/:day/:title 
markdown: redcarpet 
pygments: true 

paginate: 8   # Posts per page on the blog index 
paginate_path: "posts/page:num" 

navigation: 
- text: Posts 
    url: /posts/ 
- text: Archive 
    url: /archive/ 
- text: About 
    url: /about/ 

我是否需要我的根设置为流失Github上不同的东西?我已经尝试过

https://github.com/username/projectname.github.io 

但是仍然没有任何效果。帮助赞赏。我也检查了我正在运行最新版本的Jekyll。

链接到我的回购:https://github.com/vdecree/vdecree.github.io

+0

我会检查你使用的是最新版本的Jekyll(在终端中运行'sudo gem update jekyll')。在github上发布一个链接到你的版本库可能会帮助我们发现问题。 –

+0

当然虐待更新问题的链接 – Doidgey

+0

http://vdecree.github.io重定向到http://visualdecree.co.uk 似乎工作。对? – airy

回答

相关问题