]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/template.pm
* Make the url absolution code for feeds significantly more robust.
[git.ikiwiki.info.git] / IkiWiki / Plugin / template.pm
index 690443558e71788e616f13575008cdfbffc09c3d..c87ba51029434acca2d3dd94ffd9389cec8e1231 100644 (file)
@@ -4,7 +4,7 @@ package IkiWiki::Plugin::template;
 
 use warnings;
 use strict;
 
 use warnings;
 use strict;
-use IkiWiki;
+use IkiWiki 2.00;
 use HTML::Template;
 use Encode;
 
 use HTML::Template;
 use Encode;
 
@@ -50,7 +50,7 @@ sub preprocess (@) { #{{{
        }
 
        return IkiWiki::preprocess($params{page}, $params{destpage},
        }
 
        return IkiWiki::preprocess($params{page}, $params{destpage},
-               IkiWiki::filter($params{page},
+               IkiWiki::filter($params{page}, $params{destpage},
                $template->output));
 } # }}}
 
                $template->output));
 } # }}}