配置设置: sidebar(侧边栏)
(我就不照着英文翻译了,我直接说) 首先,你的主题必须支持侧边栏你才能设置这个。你要做的就是,值里填写侧边栏页面的位置。
比如说我的侧边栏页面存在 wiki:侧边栏 这个命名空间。我就在sidebar里填写 wiki:侧边栏。
然后我们在侧边栏界面写的内容,就会自动显示在wiki页面的左边侧边栏位置了。(补充一个知识点,侧边栏的宽度可以在“模板设置样式”里面调整)。你测试的时候,可以在侧边栏页面 写一个内部链接。然后你会发现你点击内部链接之后,右方页面自动跳转到你内部链接指向的页面。这里建议你们了解 indexmenu 插件(https://www.dokuwiki.org/plugin%3Aindexmenu),simplenavi插件。
推荐一个链接:http://www.baiguo.net/wiki/doku.php?id=wiki:sidebar_config
- 值类型: String
- 默认值:
sidebar
(这下面这一串大概是一堆模板,你们感兴趣自己去点点点,我不会翻译,我英文特差~)
Templates currently supporting this setting (other templates might support other forms of sidebars): 20cones, ach, adoradark, aran, benjamin, binkytestinstance, bootstrap3, codowik, dokuwiki, grassstains, greensteel, starter, starterbootstrap1), starterpjax, taratasy, templar, writr, zenlike