Hexo文章链接优化
Hexo 文章链接优化
1.建新 js 文件
在主题文件夹/scripts/ 路径下,建新datelink.js
1 | ; |
2. 修改 HEXO 配置文件
修改 hexo 的配置文件_config.yml
1 | permalink: posts/:year/:month/:datelink.html |
在主题文件夹/scripts/ 路径下,建新datelink.js
1 | ; |
修改 hexo 的配置文件_config.yml
1 | permalink: posts/:year/:month/:datelink.html |