aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-24 21:13:53 -0400
committerJoey Hess <joey@kitenet.net>2010-04-24 21:13:53 -0400
commite05c9653ef823d1af3c79a89a6231c86be7f8960 (patch)
treeb245ddc84dca3f04fe83bfbe19687cdd6b086168 /IkiWiki
parenta1575b0c8398f3ebb70b2364b986964fb354e09a (diff)
downloadikiwiki-e05c9653ef823d1af3c79a89a6231c86be7f8960.tar
ikiwiki-e05c9653ef823d1af3c79a89a6231c86be7f8960.tar.gz
rebuild on template removal
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Render.pm2
1 files changed, 1 insertions, 1 deletions
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));