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] Some problem... #1154

Closed
Yuxin61 opened this issue Jan 7, 2024 · 2 comments
Closed

[BUG] Some problem... #1154

Yuxin61 opened this issue Jan 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Yuxin61
Copy link

Yuxin61 commented Jan 7, 2024

Describe the bug 描述你遇到的错误

i18n下的文档中似乎应该添加[authors]参数,否则作者页显示不太正确,如下:
2024-01-07 21-19-39屏幕截图

Expected behavior 期待的行为

添加之后:
2024-01-07 21-19-08屏幕截图
2024-01-07 21-19-19屏幕截图
可以正常显示:
2024-01-07 21-19-57屏幕截图

Screenshots 屏幕截图

No response

Build Environment 构建环境

  • OS: Ubuntu 20.04
  • Theme version: 0.4.0
  • Hugo version: v0.121.2-6d5b44305eaa9d0a157946492a6f319da38de154+extended

Preview Environment 预览环境

No response

Additional Information 补充信息

No response

@Yuxin61 Yuxin61 added the bug Something isn't working label Jan 7, 2024
@CXwudi
Copy link
Contributor

CXwudi commented Jan 8, 2024

@Yuxin61
Copy link
Author

Yuxin61 commented Jan 10, 2024

应该是没有在content目录下添加authors的索引文件,添加之后应该是会从这个文件中获取title的值拼接到“所有”的后面。

之前是看其他的选项都有这个默认值,所以也以为需要添加[authors]😂

@Yuxin61 Yuxin61 closed this as completed Jan 10, 2024
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

2 participants