]> scripts.mit.edu Git - www/ikiwiki.git/blobdiff - IkiWiki/Render.pm
Renamed postscan hook to indexhtml, to reflect its changed position.
[www/ikiwiki.git] / IkiWiki / Render.pm
index fc5d3953d0df8697fcd122bce9a0e6445714cb2f..30e3d4199cd56b26cbf69529ca8d641d1d6ac7b2 100644 (file)
@@ -62,7 +62,7 @@ sub genpage ($$) {
        my $page=shift;
        my $content=shift;
        
-       run_hooks(postscan => sub {
+       run_hooks(indexhtml => sub {
                shift->(page => $page, content => $content);
        });
 
@@ -138,7 +138,6 @@ sub genpage ($$) {
                title => $page eq 'index' 
                        ? $config{wikiname} 
                        : pagetitle(basename($page)),
-               ispage => 1,
                wikiname => $config{wikiname},
                content => $content,
                backlinks => $backlinks,
@@ -146,7 +145,6 @@ sub genpage ($$) {
                mtime => displaytime($pagemtime{$page}),
                ctime => displaytime($pagectime{$page}, undef, 1),
                baseurl => baseurl($page),
-               have_footer => 1,
                html5 => $config{html5},
        );