Open
Description
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 单独为每个文章、页面控制顶部背景图片是否显示、标题位置