diff options
author | Simon McVittie <smcv@debian.org> | 2010-04-03 14:19:18 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2010-04-04 01:43:02 +0100 |
commit | 490f95616a8a49f2120655d07c282eefd067e640 (patch) | |
tree | 5cace5f72fd6c63dcfd809ac369b394b34416748 /doc | |
parent | 618bbaee3815daffe329fc1e2d77f04fcd8392b8 (diff) | |
download | ikiwiki-490f95616a8a49f2120655d07c282eefd067e640.tar ikiwiki-490f95616a8a49f2120655d07c282eefd067e640.tar.gz |
Rename sort parameter to meta title/author to sortas=bar
Joey pointed out that sort=x usually takes a sort order.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ikiwiki/directive/meta.mdwn | 10 | ||||
-rw-r--r-- | doc/ikiwiki/pagespec/sorting.mdwn | 2 |
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. |