projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d6b491
)
indicate that an internal page will be rendered even if skipping it
author
Joey Hess
<joey@kodama.kitenet.net>
Tue, 29 Jan 2008 17:39:28 +0000
(12:39 -0500)
committer
Joey Hess
<joey@kodama.kitenet.net>
Tue, 29 Jan 2008 17:39:28 +0000
(12:39 -0500)
This is important to do because until will_render is called, ikiwiki doesn't
know that the page exists. This avoids recentchanges re-writing every change
page every run.
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index cfe03991699b1f96d61a7a40963058fd4a209a02..02f6b4b1c1561e8a74784c8423d50e9053a66b8c 100644
(file)
--- a/
IkiWiki/Render.pm
+++ b/
IkiWiki/Render.pm
@@
-195,10
+195,10
@@
sub render ($) { #{{{
my $type=pagetype($file);
my $srcfile=srcfile($file);
if (defined $type) {
- return if $type=~/^_/;
my $page=pagename($file);
delete $depends{$page};
will_render($page, htmlpage($page), 1);
+ return if $type=~/^_/;
my $content=htmlize($page, $type,
linkify($page, $page,