Fix color and format plugins to appear in the websetup interface.
parent
caa5db6c54
commit
5a2de27947
|
@ -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 ($$$) {
|
||||
|
|
|
@ -7,6 +7,15 @@ use IkiWiki 3.00;
|
|||
|
||||
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 (@) {
|
||||
|
|
|
@ -12,6 +12,7 @@ ikiwiki (3.20100123) UNRELEASED; urgency=low
|
|||
to otherwise locked-down sites.
|
||||
* auto-blog.setup: Lock all pages, so only admin can post to the blog
|
||||
by default, and enable opendiscussion so others can comment.
|
||||
* Fix color and format plugins to appear in the websetup interface.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Tue, 26 Jan 2010 22:25:33 -0500
|
||||
|
||||
|
|
Loading…
Reference in New Issue