diff options
author | zweistein <zweistein@web> | 2020-03-07 13:49:17 +0000 |
---|---|---|
committer | IkiWiki <ikiwiki.info> | 2020-03-07 13:49:17 +0000 |
commit | e718a95ef4f2bf02394629a04633185973d15247 (patch) | |
tree | 998fe9aae1e3bed471958c7f7c14066efba10e96 /ikiwiki/directive | |
parent | 0540d2452c2814093a28c1a508780623ece50ecb (diff) |
aktiv?
Diffstat (limited to 'ikiwiki/directive')
-rw-r--r-- | ikiwiki/directive/sidebar.mdwn | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ikiwiki/directive/sidebar.mdwn b/ikiwiki/directive/sidebar.mdwn new file mode 100644 index 00000000..b5bd1f14 --- /dev/null +++ b/ikiwiki/directive/sidebar.mdwn @@ -0,0 +1,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"]] |