Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
po: factorize extraction of a slave page's masterpage and lang
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
testpagespec.pm
diff --git
a/IkiWiki/Plugin/testpagespec.pm
b/IkiWiki/Plugin/testpagespec.pm
index 4faef7be197a8b20362132521ae67de2976a3ad8..9f9b50f017bb5cb75a5ed1155984531d082d200d 100644
(file)
--- a/
IkiWiki/Plugin/testpagespec.pm
+++ b/
IkiWiki/Plugin/testpagespec.pm
@@
-6,9
+6,18
@@
use strict;
use IkiWiki 2.00;
sub import { #{{{
use IkiWiki 2.00;
sub import { #{{{
+ hook(type => "getsetup", id => "testpagespec", call => \&getsetup);
hook(type => "preprocess", id => "testpagespec", call => \&preprocess);
} # }}}
hook(type => "preprocess", id => "testpagespec", call => \&preprocess);
} # }}}
+sub getsetup () { #{{{
+ return
+ plugin => {
+ safe => 1,
+ rebuild => undef,
+ },
+} #}}}
+
sub preprocess (@) { #{{{
my %params=@_;
sub preprocess (@) { #{{{
my %params=@_;