crc32 & dec https://[你的网站域名]/posts/1690090958.html
4.2 如何使用
插件地址:hexo-abbrlink
插件安装
1
npm install hexo-abbrlink --save
插件配置(config.yml )
1 2 3 4 5 6 7 8 9
permalink: posts/:abbrlink.html abbrlink: alg: crc32 # 算法:crc16(default) and crc32 rep: hex # 进制:dec(default) and hex #add v7.8.0 permalink_defaults: pretty_urls: trailing_index: true # Set to false to remove trailing 'index.html' from permalinks trailing_html: true # Set to false to remove trailing '.html' from permalinks
五 插件:hexo-abbrlink2(不推荐)
5.1 样式
1 2
标题:我的个人博客 转换后:https://[你的网站域名]/posts/1.html
5.2 如何使用
插件地址:hexo-abbrlink2
插件安装
1
npm install hexo-abbrlink2 --save
插件配置(config.yml )
1 2 3
permalink: posts/:abbrlink/ abbrlink: start: 1000 # the first id, default 0