add plugin safe/rebuild info (part 1 of 2)
[ikiwiki.git] / IkiWiki / Plugin / goodstuff.pm
index effbc7de9ff14759409ba36bf9b18d8230fe2123..df928f2226d485aba2a582363e59da44db9d229c 100644 (file)
@@ -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