Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 博客文章的中文子目录无法跳转 #869

Open
hzp2333 opened this issue Mar 20, 2024 · 1 comment
Open

[BUG] 博客文章的中文子目录无法跳转 #869

hzp2333 opened this issue Mar 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hzp2333
Copy link

hzp2333 commented Mar 20, 2024

问题情况

网站地址:https://blog.huaxiangshan.com/

hugo自带的目录系统可以在文章页面生成目录,点击不同的子标题会跳转到对应部分。
不知道为什么?我的博客中文页面无法实现目录跳转,但是英文页面可以正常跳转。
9773c9cdf18cb7e866628c0f8ad3f35
同时,当我在本地预览(localhost:1313)时,英文和中文的文章目录跳转都是正常的。

期待的行为

是什么因素导致本地和正式上传后的情况不同呢111?
如何修正中文目录的情况呢?
十分感谢您的回答!

预览环境

Windows 11 +loveit主题+hugo扩展版
使用的hugo默认的目录,没有额外设置什么

网站地址:https://blog.huaxiangshan.com/

@hzp2333 hzp2333 added the bug Something isn't working label Mar 20, 2024
@hzp2333 hzp2333 changed the title [BUG] loveit 中文目录自动跳转 [BUG] loveit 中文目录无法自动跳转 Mar 20, 2024
@hzp2333 hzp2333 changed the title [BUG] loveit 中文目录无法自动跳转 [BUG] 博客文章的中文子目录无法跳转 Mar 20, 2024
@hzp2333
Copy link
Author

hzp2333 commented Mar 21, 2024

已解决,参见:https://blog.huaxiangshan.com/zh-cn/posts/toc/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant