inline: Call indexhtml when inlining internal pages, so their text can be indexed...
[ikiwiki.git] / IkiWiki / Render.pm
index 30e3d4199cd56b26cbf69529ca8d641d1d6ac7b2..b0bd8dee08f1f605f80526a5c72b71fa08928f27 100644 (file)
@@ -63,7 +63,7 @@ sub genpage ($$) {
        my $content=shift;
        
        run_hooks(indexhtml => sub {
        my $content=shift;
        
        run_hooks(indexhtml => sub {
-               shift->(page => $page, content => $content);
+               shift->(page => $page, destpage => $page, content => $content);
        });
 
        my $templatefile;
        });
 
        my $templatefile;