You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thank you so much for such a wonderful theme. I'm not sure if this is expected behavior or a bug, so I'd like to ask first.
Configuration:
params.toml(via[widgets] page = [{ type = "toc" }])[article] toc = falsein the sameparams.tomltoc = falsein its front matterActual result:
The TOC still appears in the article body.
Expected result:
The TOC should be disabled globally by
article.toc = false, unless overridden in front matter.Is this a logic issue, or am I misunderstanding how these two settings work together?
您好,感谢您提供这么棒的主题。我发现一个可能的问题,想确认一下是设计如此还是 Bug。
配置:
params.toml中通过[widgets]全局启用了目录[article]中将toc设为falsetoc = false)实际结果:
正文中依然显示了目录
预期结果:
article.toc = false应该全局禁用目录,除非某篇文章在 front matter 中明确开启请问这是逻辑问题,还是我对这两个配置项的优先级理解有误?
Beta Was this translation helpful? Give feedback.
All reactions