Hexo设置永久链接

配置

新版本好像集成了插件,

运行npm install hexo-abbrlink --save提示已安装

1
2
3
4
5
#修改配置文件_config.yml
permalink: posts/:abbrlink/
abbrlink:
alg: crc32 #算法: crc16(default) and crc32
rep: hex #进制: dec(default) and hex