【发布时间】:2013-09-10 14:41:44
【问题描述】:
我最近在 GitHub 页面上使用 Middleman 发布了一篇博客,虽然索引页面运行良好 (mathesond2.github.io/learnt/),但每当我选择帖子时,我都会收到 404。这是因为 url 路径位于:
http://mathesond2.github.io/blog/2013/09/02/first-post.html
而不是: http://mathesond2.github.io/*learnt/*blog/2013/09/02/first-post.html
我已经进入config.rb 将blog.prefix 从/blog 更改为/learnt/blog,但仍然看不出有什么区别。有什么建议吗?
谢谢, 大卫
【问题讨论】:
-
你能把你的
config.rb和config.ru贴出来吗?