summaryrefslogtreecommitdiff
path: root/doc/ikiwiki/directive
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-04-15 16:40:01 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-04-15 16:51:27 -0400
commit358fa953e189d6f8a7925be8533fe7b7c5699503 (patch)
tree01d777ac3ab15c972a0cf005affb8e2895c3a374 /doc/ikiwiki/directive
parent843ce484fc9a65a814be62ab9617fc461640fbeb (diff)
sidebar: Now a sidebar directive can be used to override the sidebar shown on a page.
Diffstat (limited to 'doc/ikiwiki/directive')
-rw-r--r--doc/ikiwiki/directive/sidebar.mdwn14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/ikiwiki/directive/sidebar.mdwn b/doc/ikiwiki/directive/sidebar.mdwn
new file mode 100644
index 000000000..46f016747
--- /dev/null
+++ b/doc/ikiwiki/directive/sidebar.mdwn
@@ -0,0 +1,14 @@
+The `sidebar` directive is supplied by the [[!iki plugins/sidebar desc=sidebar]] plugin.
+
+This directive specifies a custom sidebar to display on the page, instead
+of any sidebar that is displayed globally.
+
+## examples
+
+ \[[!sidebar """
+ This is my custom sidebar for this page.
+
+ \[[!calendar pages="posts/*"]]
+ """]]
+
+[[!meta robots="noindex, follow"]]