summaryrefslogtreecommitdiff
path: root/doc/ikiwiki/pagespec
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2010-04-11 14:32:18 +0100
committerSimon McVittie <smcv@debian.org>2010-04-11 14:32:18 +0100
commit9060cb0cf8f73fca276719dd92dfae9b48d64d38 (patch)
tree1bc790674f2558e2cb3926d4d23f42b2cef9ef68 /doc/ikiwiki/pagespec
parent0bfc364a7df124509855b8ed0b1b33ab5bc9ebbb (diff)
Space sorting orders consistently
Markdown interprets the empty lines resulting from [[!if]] as a request that each <li> contain a <p>. For consistent spacing in the HTML, either the unconditional items should have blank lines between (resulting in each <li> having a <p>), or the conditional items should not (resulting in messy source code, and no <li> having a <p>). I think the former looks nicer.
Diffstat (limited to 'doc/ikiwiki/pagespec')
-rw-r--r--doc/ikiwiki/pagespec/sorting.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/ikiwiki/pagespec/sorting.mdwn b/doc/ikiwiki/pagespec/sorting.mdwn
index 37995f1e8..ccd7f7eaa 100644
--- a/doc/ikiwiki/pagespec/sorting.mdwn
+++ b/doc/ikiwiki/pagespec/sorting.mdwn
@@ -4,7 +4,9 @@ specifying the order that matching pages are shown in. The following sort
orders can be specified.
* `age` - List pages from the most recently created to the oldest.
+
* `mtime` - List pages with the most recently modified first.
+
* `title` - Order by title (page name).
[[!if test="enabled(sortnaturally)" then="""
* `title_natural` - Orders by title, but numbers in the title are treated