X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/9e0cbb73fe550d05e668d3584ef6f7981e781c8e..903213e63fd6c409046f66e73881aba33c3926de:/IkiWiki/Plugin/more.pm diff --git a/IkiWiki/Plugin/more.pm b/IkiWiki/Plugin/more.pm index 667cd6415..4484441c3 100644 --- a/IkiWiki/Plugin/more.pm +++ b/IkiWiki/Plugin/more.pm @@ -8,9 +8,18 @@ use IkiWiki 2.00; my $linktext = gettext("more"); sub import { #{{{ - hook(type => "preprocess", id => "more", call => \&preprocess); + hook(type => "getsetup", id => "more", call => \&getsetup); + hook(type => "preprocess", id => "more", call => \&preprocess); } # }}} +sub getsetup () { #{{{ + return + plugin => { + safe => 1, + rebuild => undef, + }, +} #}}} + sub preprocess (@) { #{{{ my %params=@_;