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: abstract "doing something for the same page in every other language"
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
sparkline.pm
diff --git
a/IkiWiki/Plugin/sparkline.pm
b/IkiWiki/Plugin/sparkline.pm
index bcff46aeb47ed8156b8d866f348ffab29a7a0f23..901c2f6830548c9e23c8e24831666b44d6257bc5 100644
(file)
--- a/
IkiWiki/Plugin/sparkline.pm
+++ b/
IkiWiki/Plugin/sparkline.pm
@@
-15,9
+15,18
@@
my %locmap=(
);
sub import { #{{{
);
sub import { #{{{
+ hook(type => "getsetup", id => "sparkline", call => \&getsetup);
hook(type => "preprocess", id => "sparkline", call => \&preprocess);
} # }}}
hook(type => "preprocess", id => "sparkline", call => \&preprocess);
} # }}}
+sub getsetup () { #{{{
+ return
+ plugin => {
+ safe => 1,
+ rebuild => undef,
+ },
+} #}}}
+
sub preprocess (@) { #{{{
my %params=@_;
sub preprocess (@) { #{{{
my %params=@_;