【发布时间】:2014-02-10 17:35:02
【问题描述】:
我正在尝试升级 Octopress 的问题。 通过使用 SEO 工具分析我的博客,我注意到缺少“/”(在博客和类别之间):
http://www.myblog.com/blogcategories/linux
我还注意到,在 octopress/public/categories 文件夹中,对于我博客的每个类别,都会使用一个 index.html 文件创建一个文件夹,即:
octopress/public/categories/linux/index.html
在第 22 行,我看到了:
<link rel="canonical" href="http://myblog.com/blogcategories/linux">
这是我的问题的根源。
我想知道 Octopress 中的哪个模块生成了这个文件,我的错误可能是什么?
我在 _config.yml 中声明了以下参数:
category_dir: categories
【问题讨论】:
标签: octopress