-
Notifications
You must be signed in to change notification settings - Fork 5
subpage
I'm a sub-page, inside a sub-folder:
//subfolder/subpage.md
Notice that this page has a different Sidebar compared the other pages.
This is because I've created /subfolder/_Sidebar.md, which is the file currently shown by the Wiki as a Sidebar.
Sidebars are per-folder. When the Wiki displays a page contained in a subfolder, it will seek for a _Sidebar.md (or other markup extensions) and, if found, use that Sidebar for all Pages within that folder. If the folder doesn't contain any _Sidebar.* (* = any markdown extension), then it will use the main Wiki Sidebar — or, possibly, the first one encountered in the folders hierarchy.
I haven't yet tested multilevel subfolders nesting, but my guess is that every Sidebar and Footer encountered in the folders that make up the full Page path are loaded by Gollum, and the last one prevails.
SUBFOLDER SIDEBAR
I'm a subfolder sidebar!
The sidebar content you are reading is saved in this file:
/subfolder/_Sidebar.md