diff options
author | Jonas Smedegaard <dr@jones.dk> | 2012-02-16 19:06:13 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2012-02-16 19:06:13 +0100 |
commit | 400f837c143e03ab7b183fb26070d0b72fbc23d7 (patch) | |
tree | c723c27f9d04fac79e786da1bb0924a7b11eb004 /ikiwiki/pagespec/sorting.mdwn | |
parent | a2443a9cb38cf4a8bda228d0ddf4f478d5478a4b (diff) | |
parent | 2b3b646be2593dfbd9e837bceb3c662051c19759 (diff) |
Merge branch 'ikiwiki'
Diffstat (limited to 'ikiwiki/pagespec/sorting.mdwn')
-rw-r--r-- | ikiwiki/pagespec/sorting.mdwn | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ikiwiki/pagespec/sorting.mdwn b/ikiwiki/pagespec/sorting.mdwn index ccd7f7e..0c6cc74 100644 --- a/ikiwiki/pagespec/sorting.mdwn +++ b/ikiwiki/pagespec/sorting.mdwn @@ -7,10 +7,14 @@ orders can be specified. * `mtime` - List pages with the most recently modified first. -* `title` - Order by title (page name). +* `title` - Order by title (page name), e.g. "z/a a/b a/c" + +* `path` - Order by page name including parents, e.g. "a/b a/c z/a" [[!if test="enabled(sortnaturally)" then=""" * `title_natural` - Orders by title, but numbers in the title are treated as such, ("1 2 9 10 20" instead of "1 10 2 20 9") + +* `path_natural` - Like `path`, but numbers in the title are treated as such """]] [[!if test="enabled(meta)" then=""" * `meta(title)` - Order according to the `\[[!meta title="foo" sortas="bar"]]` |