aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/color.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-02-06 16:25:39 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-02-06 16:25:39 -0500
commit5a2de27947d084f73fdbbc55028af378f62b42b3 (patch)
treebd9e8c94f134388e8052e2120306b5057fded27c /IkiWiki/Plugin/color.pm
parentcaa5db6c54c5c6368d511214961e749f5451379c (diff)
downloadikiwiki-5a2de27947d084f73fdbbc55028af378f62b42b3.tar
ikiwiki-5a2de27947d084f73fdbbc55028af378f62b42b3.tar.gz
Fix color and format plugins to appear in the websetup interface.
Diffstat (limited to 'IkiWiki/Plugin/color.pm')
-rw-r--r--IkiWiki/Plugin/color.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/color.pm b/IkiWiki/Plugin/color.pm
index 20505893b..b9407ba28 100644
--- a/IkiWiki/Plugin/color.pm
+++ b/IkiWiki/Plugin/color.pm
@@ -10,6 +10,15 @@ 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,
+ },
}
sub preserve_style ($$$) {