don't scan internal pages
scan() does too much. All that is needed is to preprocess the internal page in scan-only mode.master
parent
3d29c5e3f8
commit
7125c7269a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue