]> 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 697818a2a944811c043f15d81c872cbd6fa792ea..3a9fef9b622c55d7604b7dafc27cdd386eaecde3 100644 (file)
@@ -9,5 +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"]]