Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > a2ac79ac252ef7b89f2f0fc449728720 > files > 272

ikiwiki-3.20190228-1.1.mga6.noarch.rpm

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>trailitems</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">
trailitems

</span>
</span>



</div>









</div>





<div id="pagebody">

<div id="content" role="main">
<p>The <code>trailitems</code> directive is supplied by the
<a href="http://ikiwiki.info/plugins/trail/">trail</a> plugin. It adds pages
to the trail represented by the current page, without producing any output
on that page.</p>

<pre><code>[[!trailitems  pages="posts/*" sort="age"]]

[[!trailitems  pagenames="a b c"]]
</code></pre>

<p>Options are similar to <a href="http://ikiwiki.info/ikiwiki/directive/inline/">inline</a>:</p>

<ul>
<li><p><code>pages</code>: adds pages that match a <a href="../pagespec.html">PageSpec</a> to the trail
(cannot be used with <code>pagenames</code>)</p></li>
<li><p><code>pagenames</code>: if used instead of <code>pages</code>, this is interpreted as a
space-separated list of absolute page names
(<a href="../subpage/linkingrules.html">LinkingRules</a> are not taken into account)
to add to the trail</p></li>
<li><p><code>sort</code>: add the pages matched by <code>pages</code> to the trail in this
<a href="../pagespec/sorting.html">sorting</a> order (cannot be used with <code>pagenames</code>)</p></li>
<li><p><code>reverse</code>: reverse the order of <code>sort</code> (cannot be used with <code>pagenames</code>)</p></li>
</ul>

</div>







</div>

<div id="footer" class="pagefooter" role="contentinfo">

<div id="pageinfo">






<div id="backlinks">
Links:

<a href="./inline.html">inline</a>

<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>