Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Ocotopress 中隐藏边栏似乎表明如何在整个站点范围内执行此操作,但我希望能够仅让特定页面折叠侧边栏。
要在站点范围内折叠侧边栏,请添加sidebar:collapse到_config.yml. 要折叠特定帖子或页面的侧边栏,请将同一行添加到该帖子或页面的 YAML 标头。
sidebar:collapse
_config.yml