我是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