summaryrefslogtreecommitdiff
path: root/ikiwiki/directive/sidebar.mdwn
blob: b5bd1f143d4971a144bc86482786e114a3f00d0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[[!if test="enabled(sidebar)"
  then="In diesem Wiki ist die Direktive: sidebar **aktiviert**."
 else="In diesem Wiki ist die Direktive: sidebar **nicht aktiv**; falls dies gewünscht wird, den Admin benachrichtigen."]]

---
The `sidebar` directive is supplied by the [[!iki plugins/sidebar desc=sidebar]] plugin.

This directive can specify a custom sidebar to display on the page,
overriding any sidebar that is displayed globally.

If no custom sidebar content is specified, it forces the sidebar page to
be used as the sidebar, even if the `global_sidebars` setting has been
used to disable use of the sidebar page by default.

## examples

	\[[!sidebar content="""
	This is my custom sidebar for this page.

	\[[!calendar pages="posts/*"]]
	"""]]

	\[[!sidebar]]

[[!meta robots="noindex, follow"]]