projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix color and format plugins to appear in the websetup interface.
[ikiwiki.git]
/
IkiWiki
/
Plugin
/
format.pm
diff --git
a/IkiWiki/Plugin/format.pm
b/IkiWiki/Plugin/format.pm
index 1513cbed72a67447fa8bcedd9bff1f10ce076262..c8041209fc97b7324a9938a656da012b753c6456 100644
(file)
--- a/
IkiWiki/Plugin/format.pm
+++ b/
IkiWiki/Plugin/format.pm
@@
-7,6
+7,15
@@
use IkiWiki 3.00;
sub import {
hook(type => "preprocess", id => "format", call => \&preprocess);
sub import {
hook(type => "preprocess", id => "format", call => \&preprocess);
+ hook(type => "getsetup", id => "format", call => \&getsetup);
+}
+
+sub getsetup () {
+ return
+ plugin => {
+ safe => 1,
+ rebuild => undef,
+ },
}
sub preprocess (@) {
}
sub preprocess (@) {