aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki/pagespec/sorting
diff options
context:
space:
mode:
authorArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-07-31 23:38:38 -0300
committerArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-07-31 23:38:38 -0300
commitdf4566af59ba8e453d12f27784bbcd4082cfc666 (patch)
tree6fffdd129c497f550b2d32831b274dc7cebe6792 /ikiwiki/pagespec/sorting
parent1fac146001ef2ed20f20fb5adf802e81452879ce (diff)
downloadarquivo-df4566af59ba8e453d12f27784bbcd4082cfc666.tar.gz
arquivo-df4566af59ba8e453d12f27784bbcd4082cfc666.tar.bz2
Initial static site generation
Diffstat (limited to 'ikiwiki/pagespec/sorting')
-rw-r--r--ikiwiki/pagespec/sorting/index.html138
1 files changed, 138 insertions, 0 deletions
diff --git a/ikiwiki/pagespec/sorting/index.html b/ikiwiki/pagespec/sorting/index.html
new file mode 100644
index 00000000000..9093b22cb72
--- /dev/null
+++ b/ikiwiki/pagespec/sorting/index.html
@@ -0,0 +1,138 @@
+<!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="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="/meta">Meta</a></li>
+ <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/pagespec/sorting.mdwn">History</a></li>
+ <li><span class="divider">|</span> <a href="/index.rss">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">Sáb 12 Nov 2011 14:02:20 BRST</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.</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">Sáb 12 Nov 2011 14:02:20 BRST</span>
+ </div> -->
+
+ </div>
+
+
+ <!-- from Arquivo Público de Memória Coletiva -->
+ </div>
+
+ </div>
+
+ <div class="span4">
+
+
+
+ </div>
+
+ </div>
+</div>
+
+</body>
+</html>