<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>sidebar</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../../style.css" type="text/css" /> <link rel="stylesheet" href="../../local.css" type="text/css" /> <meta name="robots" content="noindex, follow" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../../index.html">ikiwiki</a>/ <a href="../../ikiwiki.html">ikiwiki</a>/ <a href="../directive.html">directive</a>/ </span> <span class="title"> sidebar </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p>The <code>sidebar</code> directive is supplied by the <a href="http://ikiwiki.info/plugins/sidebar/">sidebar</a> plugin.</p> <p>This directive can specify a custom sidebar to display on the page, overriding any sidebar that is displayed globally.</p> <p>If no custom sidebar content is specified, it forces the sidebar page to be used as the sidebar, even if the <code>global_sidebars</code> setting has been used to disable use of the sidebar page by default.</p> <h2>examples</h2> <pre><code>[[!sidebar content=""" This is my custom sidebar for this page. \[[!calendar pages="posts/*"]] """]] [[!sidebar ]] </code></pre> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div id="backlinks"> Links: <a href="../../plugins/contrib/sidebar2.html">plugins/contrib/sidebar2</a> <a href="../../plugins/sidebar.html">plugins/sidebar</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>