projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d29c5e
)
don't scan internal pages
author
Joey Hess
<joey@kodama.kitenet.net>
Tue, 29 Jan 2008 23:06:36 +0000
(18:06 -0500)
committer
Joey Hess
<joey@kodama.kitenet.net>
Tue, 29 Jan 2008 23:06:36 +0000
(18:06 -0500)
scan() does too much. All that is needed is to preprocess the internal page
in scan-only mode.
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index 76e8ef1f4e7d0369eb6b48cc296436607037cfc6..a42cdc4224ddee61f6d07685788d832bdf0ab028 100644
(file)
--- 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;