summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-29 13:08:32 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-29 13:08:32 -0500
commite1ce482e4146d1036e1ae512c73e54f69ff52f0d (patch)
tree16f17a52d2e374dc57d0ebc7ad74464389029c3a /IkiWiki
parent95c5cbc721a2382104810e3b4f2bd13b8a56558f (diff)
add refresh hook
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Render.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index 02f6b4b1c..aa9b73141 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -259,6 +259,8 @@ sub refresh () { #{{{
$test=dirname($test);
}
}
+
+ run_hooks(refresh => sub { shift->() });
# find existing pages
my %exists;