Hexo固定文章链接
在 _config.yml
配置文件中,默认链接为:
1 | permalink: :year/:month/:day/:title/ |
我们将它修改为:
1 | permalink: :name/ |
这样就会支持固定网址名称了。
但是,原始的 md 文件就需要使用英文名称了。
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Mr.ZhengGang's Blog!
在 _config.yml
配置文件中,默认链接为:
1 | permalink: :year/:month/:day/:title/ |
我们将它修改为:
1 | permalink: :name/ |
这样就会支持固定网址名称了。
但是,原始的 md 文件就需要使用英文名称了。