permalink: posts/:abbrlink.html ## 此处可以自己设置
permalink_defaults: permalink_defaults
pretty_urls:
trailing_index: false # Set to false to remove trailing 'index.html' from permalinks
trailing_html: false # Set to false to remove trailing '.html' from permalinks
使用的 AnZhiYu 版本? | What version of AnZhiYu are you use?
1.6.12
使用的浏览器? || What browse are you using?
Chrome
是否修改过主题文件? || Has the theme files been modified?
不是 (No)
使用的系统? || What operating system are you using?
Windows
问题描述 | Describe the bug
在非404以及首页页面点击左上角首页按钮跳转错误
正常情况应该是直接跳转域名,即首页 但实测过程中跳转的是
当前url/index.html
这也是导致404和首页点击之后正常的原因,而在其他页面如_posts/afwdaasdw.html
就会跳转_posts/index.html
导致404下图是F12元素查看结果
我安装的插件列表
下图是bug演示GIF
Hexo的HTML配置相关已关闭
出现问题的网站 | Website
本地调试