my $page=shift;
my $content=shift;
- run_hooks(postscan => sub {
+ run_hooks(indexhtml => sub {
shift->(page => $page, content => $content);
});
title => $page eq 'index'
? $config{wikiname}
: pagetitle(basename($page)),
- ispage => 1,
wikiname => $config{wikiname},
content => $content,
backlinks => $backlinks,
mtime => displaytime($pagemtime{$page}),
ctime => displaytime($pagectime{$page}, undef, 1),
baseurl => baseurl($page),
- have_footer => 1,
html5 => $config{html5},
);