|
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
[widgets]
page = [{ type = "toc" }]
[article]
toc = falseActual result: Expected result: Is this a logic issue, or am I misunderstanding how these two settings work together? 您好,感谢您提供这么棒的主题。我发现一个可能的问题,想确认一下是设计如此还是 Bug。 配置:
#params.toml
[widgets]
page = [{ type = "toc" }]
[article]
toc = false实际结果: 预期结果: 请问这是逻辑问题,还是我对这两个配置项的优先级理解有误? |
Replies: 1 comment 1 reply
|
Yes, I think this is a bug. Previously, the value of .Site.Params.article.toc was not read, and I don't remember if that was intentional or if it was a bug. I created a fix and will release a new version soon. Thanks for letting me know! |
Yes, I think this is a bug. Previously, the value of .Site.Params.article.toc was not read, and I don't remember if that was intentional or if it was a bug.
I created a fix and will release a new version soon.
Thanks for letting me know!