aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-07-18 16:47:52 -0400
committerJoey Hess <joey@kitenet.net>2010-07-18 16:47:52 -0400
commit2bf3a6edbbd32c66db8480d598c2c328d8a8a1b8 (patch)
treec490ee18809cfad1df85050df3f45f5063bbd574 /IkiWiki.pm
parentd6cb4436bd93d0c49f629f46eb0f0ada0fa0ef3d (diff)
downloadikiwiki-2bf3a6edbbd32c66db8480d598c2c328d8a8a1b8.tar
ikiwiki-2bf3a6edbbd32c66db8480d598c2c328d8a8a1b8.tar.gz
check oldrenderedfiles too
Handles the case where foo.mdwn is moved too foo/index.html
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 4acc5508a..85b542486 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -884,7 +884,7 @@ sub will_render ($$;$) {
if (grep {
$_ eq $dest ||
dirname($_) eq $dest
- } @{$renderedfiles{$p}}) {
+ } @{$renderedfiles{$p}}, @{$oldrenderedfiles{$p}}) {
$from_other_page=1;
last;
}