[{"data":1,"prerenderedAt":171},["ShallowReactive",2],{"$fn4yensbuhjtv":3,"content:\u002Fposts\u002F4f2a9b1":44,"surround:\u002Fposts\u002F4f2a9b1":165},{"total":4,"annual":7,"categories":16,"tags":28},{"posts":5,"words":6},12,7234,{"2024":8,"2025":11,"2026":13},{"posts":9,"words":10},5,1227,{"posts":9,"words":12},3158,{"posts":14,"words":15},2,2849,[17,20,23,26],{"name":18,"posts":19},"未分类",1,{"name":21,"posts":22},"笔记",7,{"name":24,"posts":25},"杂谈",3,{"name":27,"posts":19},"生活",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"hexo","软件","壁纸","图床","音乐","刷机","twikoo","npm","cdn","秒传","近期小记","旁路由","软路由","OpenClash","Git",{"id":45,"title":46,"body":47,"categories":143,"date":144,"description":145,"draft":146,"extension":147,"image":148,"meta":149,"navigation":151,"path":152,"permalink":152,"published":153,"readingTime":154,"recommend":153,"references":153,"seo":159,"sitemap":160,"stem":161,"tags":162,"type":163,"updated":144,"__hash__":164},"content\u002Fposts\u002F2024\u002FHexo永久链接优化.md","Hexo 永久链接优化",{"type":48,"value":49,"toc":139},"minimark",[50,61,65],[51,52,53,54],"p",{},"使用hexo博客时，访问文章的默认链接看起来十分杂乱，使用hexo-abbrlink插件可以完美解决这一痛点\n",[55,56,60],"a",{"href":57,"rel":58},"https:\u002F\u002Fgithub.com\u002Fohroy\u002Fhexo-abbrlink",[59],"nofollow","hexo-abbrlink 插件",[62,63,64],"h2",{"id":64},"食用教程",[66,67,68,88,112],"ol",{},[69,70,71,72,77],"li",{},"安装插件\n",[73,74],"img",{"alt":75,"src":76},"安装 hexo-abbrlink 插件的终端截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F02\u002F68de17c317318.webp",[78,79,85],"pre",{"className":80,"code":82,"language":83,"meta":84},[81],"language-shell","#安装插件\nnpm install hexo-abbrlink --save  --registry=https:\u002F\u002Fregistry.npmmirror.com\n","shell","",[86,87,82],"code",{"__ignoreMap":84},[69,89,90,91,94,95,97,98,106,108],{},"配置链接格式",[92,93],"br",{},"打开 hexo根目录\u002F_config.yml",[92,96],{},"修改permalink为如下内容，二选一即可",[78,99,104],{"className":100,"code":102,"language":103,"meta":84},[101],"language-text","#结尾无.html\nposts\u002F:abbrlink\u002F\n#结尾有.html\nposts\u002F:abbrlink.html\n","text",[86,105,102],{"__ignoreMap":84},[92,107],{},[73,109],{"alt":110,"src":111},"Hexo 配置 permalink 的截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F02\u002F68de17e715f8c.webp",[69,113,114,115,117,118,124,126,130,132,133],{},"插件配置",[92,116],{},"在当前配置文件中添加如下代码",[78,119,122],{"className":120,"code":121,"language":103,"meta":84},[101],"# hexo-abbrlink\nabbrlink:\n  alg: crc16      #支持crc16和crc32算法（默认crc16）\n  rep: hex        #支持dec和hex值（默认dec）\n  drafts: false   #(true)Process draft,(false)Do not process draft. false(default) \n  # Generate categories from directory-tree\n  # depth: the max_depth of directory-tree you want to generate, should > 0\n  auto_category:\n     enable: true  #true(default)\n     depth:        #3(default)\n     over_write: false \n  auto_title: false #enable auto title, it can auto fill the title by path\n  auto_date: false #enable auto date, it can auto fill the date by time today\n  force: false #enable force mode,in this mode, the plugin will ignore the cache, and calc the abbrlink for every post even it already had abbrlink.\n",[86,123,121],{"__ignoreMap":84},[92,125],{},[73,127],{"alt":128,"src":129},"hexo-abbrlink 插件配置截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F02\u002F68de181e3a13e.webp",[92,131],{},"通过配置alg和rep参数可以改变链接大小，如下",[78,134,137],{"className":135,"code":136,"language":103,"meta":84},[101],"#crc16 & hex\nhttps:\u002F\u002Fexample.com\u002Fposts\u002F64c8.html\n# crc16 & dec\nhttps:\u002F\u002Fexample.com\u002Fposts\u002F67535.html\n# crc32 & hex\nhttps:\u002F\u002Fexample.com\u002Fposts\u002F8dff18eb.html\n# crc32 & dec\nhttps:\u002F\u002Fexample.com\u002Fposts\u002F1690092958.html\n",[86,138,136],{"__ignoreMap":84},{"title":84,"searchDepth":140,"depth":140,"links":141},4,[142],{"id":64,"depth":14,"text":64},[21],"2024-08-25 20:24:16","使用 hexo-abbrlink 插件将杂乱的 Hexo 文章 URL 转换为短小精悍的永久链接，支持 CRC16\u002FCRC32 算法与十六进制\u002F十进制格式。",false,"md","https:\u002F\u002Fbu.dusays.com\u002F2026\u002F02\u002F10\u002F698b0242d4e75.webp",{"slots":150},{},true,"\u002Fposts\u002F4f2a9b1",null,{"text":155,"minutes":156,"time":157,"words":158},"2 min read",1.315,78900,263,{"title":46,"description":145},{"loc":152},"posts\u002F2024\u002FHexo永久链接优化",[29],"tech","Kv_DH3a20_CMa6Cs3o_V9CagYbn5doUH_esBwsoEAgQ",[153,166],{"title":167,"path":168,"stem":169,"date":170,"type":163,"children":-1},"PicList：强大的图片上传与图床管理工具","\u002Fposts\u002F7c3e5d8","posts\u002F2024\u002FPicList强大的图片上传和管理软件","2024-08-26 21:08:32",1785905121708]