diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-13 15:15:54 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-13 15:15:54 -0400 |
commit | ef7bddbc3693d7abf227100a9a9bc21d186dfada (patch) | |
tree | 1072bb7d7c29375b9008b3021bc1d2049eeaecca /underlays/basewiki/ikiwiki/pagespec | |
parent | f6402d22caeecf481826b60791d84cb53210f686 (diff) | |
parent | 046ac5fec5534e10b8e34b96014f936bb151d147 (diff) |
Merge branch 'dependency-types'
Conflicts:
doc/todo/dependency_types.mdwn
Diffstat (limited to 'underlays/basewiki/ikiwiki/pagespec')
-rw-r--r-- | underlays/basewiki/ikiwiki/pagespec/sorting.mdwn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/underlays/basewiki/ikiwiki/pagespec/sorting.mdwn b/underlays/basewiki/ikiwiki/pagespec/sorting.mdwn new file mode 100644 index 000000000..41aa58151 --- /dev/null +++ b/underlays/basewiki/ikiwiki/pagespec/sorting.mdwn @@ -0,0 +1,11 @@ +Some [[directives|ikiwiki/directive]] that use +[[PageSpecs|ikiwiki/pagespec]] allow +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. +* `title_natural` - Only available if [[!cpan Sort::Naturally]] is + installed. Orders by title, but numbers in the title are treated + as such, ("1 2 9 10 20" instead of "1 10 2 20 9") |