From 2bf3a6edbbd32c66db8480d598c2c328d8a8a1b8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 18 Jul 2010 16:47:52 -0400 Subject: [PATCH] check oldrenderedfiles too Handles the case where foo.mdwn is moved too foo/index.html --- IkiWiki.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.26.2