diff options
Diffstat (limited to 'ikiwiki/pagespec/sorting/index.html')
| -rw-r--r-- | ikiwiki/pagespec/sorting/index.html | 141 | 
1 files changed, 141 insertions, 0 deletions
| diff --git a/ikiwiki/pagespec/sorting/index.html b/ikiwiki/pagespec/sorting/index.html new file mode 100644 index 00000000000..2ec1efda879 --- /dev/null +++ b/ikiwiki/pagespec/sorting/index.html @@ -0,0 +1,141 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> +<meta http-equiv="onion-location" content="http://74bl64uknv672pgnqpzve2w5zrjq4e5umpqkov2nhakxn3w52brd7lid.onion" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>sorting</title> + +<link rel="stylesheet" href="../../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { +  .navbar-fixed-top { +    position: fixed; +    margin-left: 0px; +    margin-right: 0px; +  } +} +</style> +</head> +<body> + +<div class="container"> + +  <div class="row-fluid"> +    <div class="span12"> +      <h1></h1> + +      <ul class="breadcrumb"> +       +          <li><a href="../../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> +       +          <li><a href="../../">ikiwiki</a> <span class="divider">/</span> </li> +       +          <li><a href="../">pagespec</a> <span class="divider">/</span> </li> +       +      <li>sorting</li> +      <li><span class="divider">|</span> <a href="../../../conteudo">Conteúdo</a></li> +      <li><span class="divider">|</span> <a href="../../../documentacao">Documentação</a></li> +      <li><span class="divider">|</span> <a href="../../../tarefas">Tarefas</a></li> +      <li><span class="divider">|</span> <a href="https://git.fluxo.info/?p=arquivo.git;a=history;f=ikiwiki/pagespec/sorting.mdwn">Histórico</a></li> +      <li><span class="divider">|</span> <a href="https://git.fluxo.info/arquivo/atom/?h=master">Feed</a></li> +      </ul> +    </div> +  </div> + +  <div class="page row-fluid"> + +  <div> +    <div class="pageheader"> +    <div class="header"> +    <h1> +    sorting +     +    </h1> +     +    </div> + +    </div> + +    <div id="pagebody"> + +    <div id="content"> +    <p class="pagedate"> +    <strong>Posted <span class="date">dom 02 fev 2020 17:23:50</span></strong> +    </p> +    <p>Some <a href="../../directive/">directives</a> that use +<a href="../">PageSpecs</a> allow +specifying the order that matching pages are shown in. The following sort +orders can be specified using the <code>sort</code> parameter:</p> + +<ul> +<li><p><code>age</code> - List pages from the most recently created to the oldest.</p></li> +<li><p><code>mtime</code> - List pages with the most recently modified first.</p></li> +<li><p><code>title</code> - Order by title (page name), e.g. "z/a a/b a/c"</p></li> +<li><p><code>path</code> - Order by page name including parents, e.g. "a/b a/c z/a"</p></li> +<li><p><code>meta(title)</code> - Order according to the <code>[[!meta  title="foo" sortas="bar"]]</code> +or <code>[[!meta  title="foo"]]</code> <a href="../../directive/">directive</a>, or the page name if no +full title was set. <code>meta(author)</code>, <code>meta(date)</code>, <code>meta(updated)</code>, etc. +also work.</p></li> +</ul> + + +<p>In addition, you can combine several sort orders and/or reverse the order of +sorting, with a string like <code>age -title</code> (which would sort by age, then by +title in reverse order if two pages have the same age).</p> + +    </div> + +    <hr /> + +     +     +     + +    </div> + +    <div id="footer" class="pagefooter"> +     +    <div id="pageinfo"> + +     + +     + +     + +     + +    <!--<div class="pagedate"> +    Last edited <span class="date">dom 02 fev 2020 17:23:50</span> +    </div> --> + +    </div> +     +     +    <!-- from Arquivo Público de Memória Coletiva --> +    </div> + +  </div> + +  <div class="span4"> + +     + +  </div> + +  </div> +</div> + +</body> +</html> | 
