From e1ce482e4146d1036e1ae512c73e54f69ff52f0d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 29 Jan 2008 13:08:32 -0500 Subject: add refresh hook --- IkiWiki/Render.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'IkiWiki') 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; -- cgit v1.2.3