diff options
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/search.pm | 6 | ||||
-rw-r--r-- | IkiWiki/Plugin/skeleton.pm | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index c71fef76e..213ed45ff 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -11,8 +11,8 @@ sub import { #{{{ call => \&checkconfig); IkiWiki::hook(type => "delete", id => "hyperestraier", call => \&delete); - IkiWiki::hook(type => "render", id => "hyperestraier", - call => \&render); + IkiWiki::hook(type => "change", id => "hyperestraier", + call => \&change); IkiWiki::hook(type => "cgi", id => "hyperestraier", call => \&cgi); } # }}} @@ -41,7 +41,7 @@ sub delete (@) { #{{{ IkiWiki::estcfg(); } #}}} -sub render (@) { #{{{ +sub change (@) { #{{{ IkiWiki::debug("updating hyperestraier search index"); IkiWiki::estcmd("gather -cm -bc -cl -sd", map { diff --git a/IkiWiki/Plugin/skeleton.pm b/IkiWiki/Plugin/skeleton.pm index cae4c02ec..d5a2125e5 100644 --- a/IkiWiki/Plugin/skeleton.pm +++ b/IkiWiki/Plugin/skeleton.pm @@ -17,8 +17,8 @@ sub import { #{{{ call => \&filter); IkiWiki::hook(type => "delete", id => "skeleton", call => \&delete); - IkiWiki::hook(type => "render", id => "skeleton", - call => \&render); + IkiWiki::hook(type => "change", id => "skeleton", + call => \&change); IkiWiki::hook(type => "cgi", id => "skeleton", call => \&cgi); } # }}} @@ -47,10 +47,10 @@ sub delete (@) { #{{{ IkiWiki::debug("skeleton plugin told that files were deleted: @files"); } #}}} -sub render (@) { #{{{ +sub change (@) { #{{{ my @files=@_; - IkiWiki::debug("skeleton plugin told that files were rendered: @files"); + IkiWiki::debug("skeleton plugin told that changed files were rendered: @files"); } #}}} sub cgi ($) { #{{{ |