From e05c9653ef823d1af3c79a89a6231c86be7f8960 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 24 Apr 2010 21:13:53 -0400 Subject: [PATCH] rebuild on template removal --- IkiWiki/Render.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index d0c7e58a3..871e005b2 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -593,7 +593,7 @@ sub render_dependent ($$$$$$$) { my %lc_exists_changed = map { lc(pagename($_)) => 1 } @exists_changed; foreach my $p ("templates/page.tmpl", keys %{$depends_simple{""}}) { - if ($rendered{$p}) { + if ($rendered{$p} || grep { $_ eq $p } @$del) { foreach my $f (@$files) { next if $rendered{$f}; render($f, sprintf(gettext("building %s, which depends on %s"), $f, $p));