diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-01-29 13:08:32 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-01-29 13:08:32 -0500 |
commit | e1ce482e4146d1036e1ae512c73e54f69ff52f0d (patch) | |
tree | 16f17a52d2e374dc57d0ebc7ad74464389029c3a /IkiWiki | |
parent | 95c5cbc721a2382104810e3b4f2bd13b8a56558f (diff) |
add refresh hook
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Render.pm | 2 |
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; |