2013-12-16 128 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

回答

相關問題