]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/color.pm
Encode not used
[ikiwiki.git] / IkiWiki / Plugin / color.pm
index 20505893b5885847370a99c84c900d6032d72ef9..d550dd9f4b42ba7759b44b9571f0bc959e026423 100644 (file)
@@ -10,6 +10,16 @@ use IkiWiki 3.00;
 sub import {
        hook(type => "preprocess", id => "color", call => \&preprocess);
        hook(type => "format",     id => "color", call => \&format);
+       hook(type => "getsetup",   id => "color", call => \&getsetup);
+}
+
+sub getsetup () {
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+                       section => "widget",
+               },
 }
 
 sub preserve_style ($$$) {