diff options
-rw-r--r-- | IkiWiki/Render.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 76e8ef1f4..a42cdc422 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -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; |