summaryrefslogtreecommitdiff
path: root/doc/ikiwiki/pagespec
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2010-04-03 14:17:48 +0100
committerSimon McVittie <smcv@debian.org>2010-04-04 01:43:02 +0100
commit618bbaee3815daffe329fc1e2d77f04fcd8392b8 (patch)
treeba8d0e96f0f7183e21af884678fd95b7f6fbd8d9 /doc/ikiwiki/pagespec
parent04a59b3c65e8e60805b6ed6d11d448b1d5babe64 (diff)
meta: generalize meta_title into meta(title); support author, updated, date
I've left meta_title in, undocumented, as a possible replacement for sort=title in IkiWiki 4.0 or something.
Diffstat (limited to 'doc/ikiwiki/pagespec')
-rw-r--r--doc/ikiwiki/pagespec/sorting.mdwn5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/ikiwiki/pagespec/sorting.mdwn b/doc/ikiwiki/pagespec/sorting.mdwn
index ba995a521..fbf598340 100644
--- a/doc/ikiwiki/pagespec/sorting.mdwn
+++ b/doc/ikiwiki/pagespec/sorting.mdwn
@@ -11,9 +11,10 @@ orders can be specified.
as such, ("1 2 9 10 20" instead of "1 10 2 20 9")
"""]]
[[!if test="enabled(meta)" then="""
-* `meta_title` - Order according to the `\[[!meta title="foo" sort="bar"]]`
+* `meta(title)` - Order according to the `\[[!meta title="foo" sort="bar"]]`
or `\[[!meta title="foo"]]` [[ikiwiki/directive]], or the page name if no
- full title was set.
+ full title was set. `meta(author)`, `meta(date)`, `meta(updated)`, etc.
+ also work.
"""]]
In addition, you can combine several sort orders and/or reverse the order of