X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/3b0fce93e40e5457b63ceda9692901539eb4fc82..299bb8bef3811b16d29a0e8ebb2c292c8dd11020:/IkiWiki/Plugin/pagecount.pm?ds=inline diff --git a/IkiWiki/Plugin/pagecount.pm b/IkiWiki/Plugin/pagecount.pm index fc69e449b..8a1376e09 100644 --- a/IkiWiki/Plugin/pagecount.pm +++ b/IkiWiki/Plugin/pagecount.pm @@ -7,7 +7,8 @@ use strict; use IkiWiki; sub import { #{{{ - IkiWiki::register_plugin("preprocess", "pagecount", \&preprocess); + IkiWiki::hook(type => "preprocess", id => "pagecount", + call => \&preprocess); } # }}} sub preprocess (@) { #{{{