]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki.pm
* Patch from James Westby to deal with the case where you're editing a
[git.ikiwiki.info.git] / IkiWiki.pm
index 6484e8cb0370782bed6182665566779c0215a4cf..174d2413bb93e6fc8b203def020f35f59dd61cb2 100644 (file)
@@ -604,6 +604,9 @@ sub misctemplate ($$;@) { #{{{
                baseurl => baseurl(),
                @_,
        );
+       run_hooks(pagetemplate => sub {
+               shift->(page => "", destpage => "", template => $template);
+       });
        return $template->output;
 }#}}}