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

【页面异常】修改配置后网站内容不见;4.7.5版本 ,heo主题 #3005

Open
BDTA-zky opened this issue Nov 21, 2024 · 2 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@BDTA-zky
Copy link

描述bug
【此项必填】heo主题,主页显示错误,如图所示,但是点击其他:例如分类时正常显示 ,仅主页显示不出来
image
image

期望的正常结果
【此项必填】正常应该显示页面如下:
image

复现步骤
【此项必填】访问 我的链接突然就这样了,刷新也不行,CTRLf5也不行

环境

  • 【必填】4.7.5
  • 【必填】heo
  • 【必填】vercel
  • 【可选】Windows
  • 【可选】edge

补充说明
【可选】与问题相关的其它说明

@BDTA-zky BDTA-zky added the bug Something isn't working label Nov 21, 2024
@tangly1024 tangly1024 changed the title 4.7.5版本 ,heo主题,主页显示bug 【页面异常】修改Notion_config后网站内容不见;4.7.5版本 ,heo主题 Nov 21, 2024
@tangly1024 tangly1024 changed the title 【页面异常】修改Notion_config后网站内容不见;4.7.5版本 ,heo主题 【页面异常】修改配置后网站内容不见;4.7.5版本 ,heo主题 Nov 21, 2024
@tangly1024
Copy link
Owner

检查一下NOTION_CONFIG;
其中 HEO_NOTICE_BAR这项配置有误:

混入了两个中文的双引号导致异常:
image

正常配置应该这样,可以复制我的这个版本:

[{"title":"博客已更新至V4.7.5","url":"https://docs.tangly1024.com/article/latest"},{"title":"倒霉 ","url":""},{"title":"面试好难啊!!!","url":"http://docs.buzzchat.top/"}]

@tangly1024 tangly1024 added help wanted Extra attention is needed good first issue Good for newcomers and removed bug Something isn't working labels Nov 21, 2024
@BDTA-zky
Copy link
Author

感谢大佬百忙之中帮我解决问题,感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants