歧路亡羊
歧路亡羊
25年4月20日目前这个方案还有效吗?
> > 之前有几个issues已经提到该问题,但由于hexo更新,hexo-asset-image插件集成到[hexo-renderer-marked](https://github.com/hexojs/hexo-renderer-marked) > > 粗略的看了下代码,确实与abbrlink插件无关。于是硬着头皮研究了好久,现附解决方案。 > > `node_modules\hexo\lib\models\post_asset.js`目录中 > > **改动1:** > > return join(post.path.replace(/\.html?$/, ''), this.slug); > > > > > > > > > > > >...
2025.5.1更新,之前疏忽了写错了一点点 ### 1.问题分析 首先这个问题确实与abbrlink插件无关,而是与修改博客_config.yml配置文件中的URL选项有关。 ``` # URL ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' url: https://mifazhan.top/ permalink: posts/:title/ ``` 例如在我将配置修改为上述形式后,文章图片便无法正确加载,...