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

无法控制文章、页面顶部背景图片开关 #226

Open
VoidYun opened this issue Dec 13, 2024 · 0 comments
Open

无法控制文章、页面顶部背景图片开关 #226

VoidYun opened this issue Dec 13, 2024 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@VoidYun
Copy link
Contributor

VoidYun commented Dec 13, 2024

What type of issue is this?

/kind bug

System information:

已激活主题: Earth 1.12.2

What happened?

无法通过 theme.config.layout.content_header 控制文章、页面顶部背景图片 (hero) 开关

What did you expect to happen?

theme.config.layout.content_header 值为 false 时不渲染文章、网页 hero 模块

How can we reproduce it (as minimally and precisely as possible)?

观察上述值为 true 时文章、网页 hero 模块是否显示,false 时是否隐藏

Anything else we need to know?

观察代码目前仅可以控制 author.html 的 hero 是否显示。另同时需要考虑 theme.config.post.title_position 值为 cover 时标题何去何从的问题

期望可以通过 AnnotationSetting 单独为每个文章、页面控制顶部背景图片是否显示、标题位置

@f2c-ci-robot f2c-ci-robot bot added the kind/bug Categorizes issue or PR as related to a bug. label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant