]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/directive/meta.mdwn
meta: generalize meta_title into meta(title); support author, updated, date
[ikiwiki.git] / doc / ikiwiki / directive / meta.mdwn
index 8d2a5b1ad40129622f2d20724955c0bfdeeeb845..c5f74fac5a8c00b25096945a6f29f4ef30f00182 100644 (file)
@@ -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.