indicate that an internal page will be rendered even if skipping it

This is important to do because until will_render is called, ikiwiki doesn't
know that the page exists. This avoids recentchanges re-writing every change
page every run.
master
Joey Hess 2008-01-29 12:39:28 -05:00
parent 1d6b4919bc
commit 152f32547f
1 changed files with 1 additions and 1 deletions

View File

@ -195,10 +195,10 @@ sub render ($) { #{{{
my $type=pagetype($file);
my $srcfile=srcfile($file);
if (defined $type) {
return if $type=~/^_/;
my $page=pagename($file);
delete $depends{$page};
will_render($page, htmlpage($page), 1);
return if $type=~/^_/;
my $content=htmlize($page, $type,
linkify($page, $page,