]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/sidebar.pm
* Add processed date to aggregate preprocessor directive status output.
[git.ikiwiki.info.git] / IkiWiki / Plugin / sidebar.pm
index a68f5e1da6016ba39a600c571111e8be9e3c3ee9..0b006f110b20a963bba9b4acc575db1c95e9fcce 100644 (file)
@@ -28,9 +28,9 @@ sub sidebar_content ($) { #{{{
 
                my $content=IkiWiki::readfile(IkiWiki::srcfile($sidebar_file));
                return unless length $content;
-               return IkiWiki::htmlize($sidebar_type,
-                      IkiWiki::preprocess($sidebar_page, $page,
+               return IkiWiki::htmlize($page, $sidebar_type,
                       IkiWiki::linkify($sidebar_page, $page,
+                      IkiWiki::preprocess($sidebar_page, $page,
                       IkiWiki::filter($sidebar_page, $content))));
        }