add refresh hook
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 29 Jan 2008 18:08:32 +0000 (13:08 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 29 Jan 2008 18:08:32 +0000 (13:08 -0500)
IkiWiki/Render.pm

index 02f6b4b1c1561e8a74784c8423d50e9053a66b8c..aa9b73141e28697181169db083d4151e52c90b74 100644 (file)
@@ -259,6 +259,8 @@ sub refresh () { #{{{
                        $test=dirname($test);
                }
        }
+       
+       run_hooks(refresh => sub { shift->() });
 
        # find existing pages
        my %exists;