]> sipb.mit.edu Git - ikiwiki.git/commitdiff
check oldrenderedfiles too
authorJoey Hess <joey@kitenet.net>
Sun, 18 Jul 2010 20:47:52 +0000 (16:47 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 18 Jul 2010 20:47:52 +0000 (16:47 -0400)
Handles the case where foo.mdwn is moved too foo/index.html

IkiWiki.pm

index 4acc5508a6ef079abd61b595a61ba6d85d117563..85b5424863e5836af0b9d1e0dba2ef0fb73abb87 100644 (file)
@@ -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;
                        }