]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/goodstuff.pm
filecheck: Fall back to testing for binary or plain text files if no mime type is...
[git.ikiwiki.info.git] / IkiWiki / Plugin / goodstuff.pm
index 384123f601b380597bb4dba3c912ecebef6f103f..df928f2226d485aba2a582363e59da44db9d229c 100644 (file)
@@ -4,7 +4,7 @@ package IkiWiki::Plugin::goodstuff;
 
 use warnings;
 use strict;
-use IkiWiki;
+use IkiWiki 2.00;
 
 my @bundle=qw{
        brokenlinks
@@ -24,7 +24,16 @@ my @bundle=qw{
 };
 
 sub import { #{{{
+       hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
        IkiWiki::loadplugin($_) foreach @bundle;
 } # }}}
 
+sub getsetup { #{{{
+       return 
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               },
+} #}}}
+
 1