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

在英文版网站中的文章显示中文文章tag #2810

Closed
shengyu-meng opened this issue Oct 4, 2024 · 1 comment · Fixed by #2831
Closed

在英文版网站中的文章显示中文文章tag #2810

shengyu-meng opened this issue Oct 4, 2024 · 1 comment · Fixed by #2831
Assignees
Labels
bug Something isn't working

Comments

@shengyu-meng
Copy link

描述bug
网站部署了zh和en两个版本,在打开en版本时,英文文章会显示中文文章的tag(但是在英文数据库的文章中并没有设置这些tag)。
image
image

期望的正常结果
en版本中的文章,只显示英文tag。

复现步骤
使用hexo主题部署了zhen两个数据库,默认为zh,设定语言为随浏览器语言自动跳转。
在站点建设时,先完成了zh库的建设,然后将zh库中的post直接在notion中批量复制到了en库中(复制后en库中的文章原有中文tag全部自动丢失),然后手动将每篇复制到英文库中的中文post重新翻译成英文,并添加英文tag后重新发布。

环境

  • 【必填】4.7.3
  • 【必填】Hexo
  • 【必填】Vercel
  • 【可选】windows
  • 【可选】chrome + safari + IE
@shengyu-meng shengyu-meng added the bug Something isn't working label Oct 4, 2024
@tangly1024 tangly1024 linked a pull request Oct 8, 2024 that will close this issue
@tangly1024
Copy link
Owner

已修复:#2831

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

Successfully merging a pull request may close this issue.

2 participants