]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Render.pm
inline: Call indexhtml when inlining internal pages, so their text can be indexed...
[ikiwiki.git] / IkiWiki / Render.pm
index e5ba0079b7b74706ebc1723a9206de3de3770ba1..b0bd8dee08f1f605f80526a5c72b71fa08928f27 100644 (file)
@@ -62,8 +62,8 @@ sub genpage ($$) {
        my $page=shift;
        my $content=shift;
        
-       run_hooks(postscan => sub {
-               shift->(page => $page, content => $content);
+       run_hooks(indexhtml => sub {
+               shift->(page => $page, destpage => $page, content => $content);
        });
 
        my $templatefile;