]> sipb.mit.edu Git - ikiwiki.git/blob - doc/ikiwiki/directive/sidebar.mdwn
Merge remote branch 'upstream/master' into prv/po
[ikiwiki.git] / doc / ikiwiki / directive / sidebar.mdwn
1 The `sidebar` directive is supplied by the [[!iki plugins/sidebar desc=sidebar]] plugin.
2
3 This directive can specify a custom sidebar to display on the page,
4 overriding any sidebar that is displayed globally.
5
6 If no custom sidebar content is specified, it forces the sidebar page to
7 be used as the sidebar, even if the `global_sidebars` setting has been
8 used to disable use of the sidebar page by default.
9
10 ## examples
11
12         \[[!sidebar content="""
13         This is my custom sidebar for this page.
14
15         \[[!calendar pages="posts/*"]]
16         """]]
17
18         \[[!sidebar]]
19
20 [[!meta robots="noindex, follow"]]