summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ikiwiki/directive/meta.mdwn10
-rw-r--r--doc/ikiwiki/pagespec/sorting.mdwn2
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/ikiwiki/directive/meta.mdwn b/doc/ikiwiki/directive/meta.mdwn
index c5f74fac5..5a3919dea 100644
--- a/doc/ikiwiki/directive/meta.mdwn
+++ b/doc/ikiwiki/directive/meta.mdwn
@@ -23,12 +23,12 @@ Supported fields:
be set to a true value in the template; this can be used to format things
differently in this case.
- An optional `sort` parameter will be used preferentially when
+ An optional `sortas` parameter will be used preferentially when
[[ikiwiki/pagespec/sorting]] by `meta(title)`:
- \[[!meta title="The Beatles" sort="Beatles, The"]]
+ \[[!meta title="The Beatles" sortas="Beatles, The"]]
- \[[!meta title="David Bowie" sort="Bowie, David"]]
+ \[[!meta title="David Bowie" sortas="Bowie, David"]]
* license
@@ -44,10 +44,10 @@ Supported fields:
Specifies the author of a page.
- An optional `sort` parameter will be used preferentially when
+ An optional `sortas` parameter will be used preferentially when
[[ikiwiki/pagespec/sorting]] by `meta(author)`:
- \[[!meta author="Joey Hess" sort="Hess, Joey"]]
+ \[[!meta author="Joey Hess" sortas="Hess, Joey"]]
* authorurl
diff --git a/doc/ikiwiki/pagespec/sorting.mdwn b/doc/ikiwiki/pagespec/sorting.mdwn
index fbf598340..5c6cfcc2b 100644
--- a/doc/ikiwiki/pagespec/sorting.mdwn
+++ b/doc/ikiwiki/pagespec/sorting.mdwn
@@ -11,7 +11,7 @@ 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" sortas="bar"]]`
or `\[[!meta title="foo"]]` [[ikiwiki/directive]], or the page name if no
full title was set. `meta(author)`, `meta(date)`, `meta(updated)`, etc.
also work.