don't scan internal pages

scan() does too much. All that is needed is to preprocess the internal page
in scan-only mode.
master
Joey Hess 2008-01-29 18:06:36 -05:00
parent 3d29c5e3f8
commit 7125c7269a
1 changed files with 3 additions and 1 deletions

View File

@ -377,7 +377,9 @@ sub refresh () { #{{{
$pagemtime{$page}=$mtime;
if (isinternal($page)) {
push @internal, $file;
scan($file);
# Preprocess internal page in scan-only mode.
my $content=readfile(srcfile($file));
preprocess($page, $page, $content, 1);
}
else {
push @needsbuild, $file;