summaryrefslogtreecommitdiff
path: root/ikiwiki/directive/sidebar.mdwn
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-07-14 20:25:22 +0200
committerJonas Smedegaard <dr@jones.dk>2010-07-14 20:25:22 +0200
commit90896aac9fcd3ce4b44643a3bc2773a831c0c3cf (patch)
treec7fa66ac8dfb7c475244fa1b2c4ddcdb1bc55375 /ikiwiki/directive/sidebar.mdwn
parent6634fec4377c1d358edc87c3819c280a9e273380 (diff)
Sync with ikiwiki 3.20100704.
Diffstat (limited to 'ikiwiki/directive/sidebar.mdwn')
-rw-r--r--ikiwiki/directive/sidebar.mdwn20
1 files changed, 20 insertions, 0 deletions
diff --git a/ikiwiki/directive/sidebar.mdwn b/ikiwiki/directive/sidebar.mdwn
new file mode 100644
index 0000000..599695d
--- /dev/null
+++ b/ikiwiki/directive/sidebar.mdwn
@@ -0,0 +1,20 @@
+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"]]