diff options
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r-- | IkiWiki/Render.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index b3dfc364d..f397ff320 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -288,11 +288,11 @@ sub refresh () { #{{{ foreach my $file (@files) { my $page=pagename($file); if (! $oldpagemtime{$page}) { - debug("new page $page"); + debug("new page $page") unless exists $pagectime{$page}; push @add, $file; $links{$page}=[]; $pagesources{$page}=$file; - $pagectime{$page}=time; + $pagectime{$page}=time unless exists $pagectime{$page}; } } my @del; |