diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-01-29 12:39:28 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-01-29 12:39:28 -0500 |
commit | 152f32547fb6fef046d8c21b218fa2dec96b6061 (patch) | |
tree | 03bba52ea21dc5c09f547f62a0eb6b4ebc70fc31 | |
parent | 1d6b4919bc1f633b5e63cd53628adec6bf4a1627 (diff) | |
download | ikiwiki-152f32547fb6fef046d8c21b218fa2dec96b6061.tar ikiwiki-152f32547fb6fef046d8c21b218fa2dec96b6061.tar.gz |
indicate that an internal page will be rendered even if skipping it
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.
-rw-r--r-- | IkiWiki/Render.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index cfe039916..02f6b4b1c 100644 --- 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, |