Add a postscan hook.
[ikiwiki.git] / IkiWiki / Render.pm
index 8a79119cd1173beb6a259ee4a3338e7dbbf6045b..fc1bc0c92649d7dca4a7095b57bc0f2be275ce67 100644 (file)
@@ -117,6 +117,10 @@ sub genpage ($$) { #{{{
        });
        
        $content=$template->output;
+       
+       run_hooks(postscan => sub {
+               shift->(page => $page, content => $content);
+       });
 
        run_hooks(format => sub {
                $content=shift->(