aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki/pagespec/sorting/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki/pagespec/sorting/index.html')
-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 0000000..fbdd48e
--- /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="../../../">Cache Saravento</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="../../../tarefas">Tarefas</a></li>
+ <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=cache.git;a=history;f=ikiwiki/pagespec/sorting.mdwn">Histórico</a></li>
+ <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=cache.git;a=atom">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 Cache Saravento -->
+ </div>
+
+ </div>
+
+ <div class="span4">
+
+
+
+ </div>
+
+ </div>
+</div>
+
+</body>
+</html>