summaryrefslogtreecommitdiff
path: root/doc/ikiwiki/directive
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/directive
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/directive')
-rw-r--r--doc/ikiwiki/directive/meta.mdwn7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/ikiwiki/directive/meta.mdwn b/doc/ikiwiki/directive/meta.mdwn
index 8d2a5b1ad..c5f74fac5 100644
--- a/doc/ikiwiki/directive/meta.mdwn
+++ b/doc/ikiwiki/directive/meta.mdwn
@@ -24,7 +24,7 @@ Supported fields:
differently in this case.
An optional `sort` parameter will be used preferentially when
- [[ikiwiki/pagespec/sorting]] by `meta_title`:
+ [[ikiwiki/pagespec/sorting]] by `meta(title)`:
\[[!meta title="The Beatles" sort="Beatles, The"]]
@@ -44,6 +44,11 @@ Supported fields:
Specifies the author of a page.
+ An optional `sort` parameter will be used preferentially when
+ [[ikiwiki/pagespec/sorting]] by `meta(author)`:
+
+ \[[!meta author="Joey Hess" sort="Hess, Joey"]]
+
* authorurl
Specifies an url for the author of a page.