<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>trailoptions</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"> trailoptions </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p>The <code>trailoptions</code> directive is supplied by the <a href="http://ikiwiki.info/plugins/trail/">trail</a> plugin. It sets options for the trail represented by this page.</p> <pre><code>[[!trailoptions sort="meta(title)" circular="no"]] </code></pre> <p>Options available:</p> <ul> <li><p><code>sort</code>: sets a <a href="../pagespec/sorting.html">sorting</a> order for the entire trail, overriding the order in which they were added</p></li> <li><p><code>reverse</code>: reverses the order of the trail</p></li> <li><p><code>circular</code>: if set to <code>yes</code> or <code>1</code>, the trail is made into a loop by making the last page's "next" link point to the first page, and the first page's "previous" link point to the last page</p></li> </ul> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div id="backlinks"> Links: <a href="../../plugins/trail.html">plugins/trail</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>