我是Octopress的新手。我創建了一個像頁面一樣的主頁(source/index.md
),並將默認source/index.html
移動到/source/blog/index.html
。Octopress博客頁面不顯示帖子
在我的Rakefile
中,我將blog_index_dir
從source
更改爲source/blog
。
在source/blog/index.html
我將對/archives
的引用更改爲/blog/archives
。
在source/_includes/custom/navigation.html
我將博客和檔案的鏈接更改爲/blog
和/blog/archives
。
我還沒有部署我的網站,因爲我仍在使用它,但是當我使用rake watch
和Pow查看它時,我的帖子顯示在最近的帖子下的側邊欄中,但沒有帖子顯示在博客中頁。
爲我的網站的源代碼是在https://github.com/benlindsay/blog