]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/pagespec/sorting.mdwn
Have the meta plugin add a meta_title sort order
[ikiwiki.git] / doc / ikiwiki / pagespec / sorting.mdwn
index 1e03660299df41662042e3382415799189790d04..3a9fef9b622c55d7604b7dafc27cdd386eaecde3 100644 (file)
@@ -1,5 +1,5 @@
 Some [[directives|ikiwiki/directive]] that use
-[[PageSpecs|ikiwiki/pagespec]], such as [[ikiwiki/directive/inline]], allow
+[[PageSpecs|ikiwiki/pagespec]] allow
 specifying the order that matching pages are shown in. The following sort
 orders can be specified.
 
@@ -9,3 +9,12 @@ orders can be specified.
 * `title_natural` - Only available if [[!cpan Sort::Naturally]] is
   installed. Orders by title, but numbers in the title are treated
   as such, ("1 2 9 10 20" instead of "1 10 2 20 9")
+[[!if test="enabled(meta)" then="""
+* `meta_title` - Order by the full title set by the `\[[!meta title="foo"]]`
+  [[ikiwiki/directive]].
+"""]]
+
+Plugins can add additional sort orders, so more might be available on this
+wiki.
+
+[[!meta robots="noindex, follow"]]