projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add plugin safe/rebuild info (part 1 of 2)
[ikiwiki.git]
/
IkiWiki
/
Plugin
/
haiku.pm
diff --git
a/IkiWiki/Plugin/haiku.pm
b/IkiWiki/Plugin/haiku.pm
index 5d5e8d5aaf93089fe84cc3774966f7a914aa516c..eb8b786e826d0071ff41b75f08673c781db0bea6 100644
(file)
--- a/
IkiWiki/Plugin/haiku.pm
+++ b/
IkiWiki/Plugin/haiku.pm
@@
-7,9
+7,18
@@
use strict;
use IkiWiki 2.00;
sub import { #{{{
use IkiWiki 2.00;
sub import { #{{{
+ hook(type => "getsetup", id => "haiku", call => \&getsetup);
hook(type => "preprocess", id => "haiku", call => \&preprocess);
} # }}}
hook(type => "preprocess", id => "haiku", call => \&preprocess);
} # }}}
+sub getsetup { #{{{
+ return
+ plugin => {
+ safe => 1,
+ rebuild => undef,
+ },
+} #}}}
+
sub preprocess (@) { #{{{
my %params=@_;
sub preprocess (@) { #{{{
my %params=@_;