]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/inline.pm
* Fix the template, toggle, and conditional plugins to filter text before
[git.ikiwiki.info.git] / IkiWiki / Plugin / inline.pm
index 13876b56fdc24472380978ce1965901fdf6fe2b3..57b4057d7e73b3f08f5becd397e1954b0a533320 100644 (file)
@@ -96,6 +96,10 @@ sub preprocess_inline (@) { #{{{
                return sprintf(gettext("unknown sort type %s"), $params{sort});
        }
 
+       if (yesno($params{reverse})) {
+               @list=reverse(@list);
+       }
+
        if (exists $params{skip}) {
                @list=@list[$params{skip} .. scalar @list - 1];
        }