]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/sparkline.pm
Merge branch 'master' into pub/master
[git.ikiwiki.info.git] / IkiWiki / Plugin / sparkline.pm
index bcff46aeb47ed8156b8d866f348ffab29a7a0f23..901c2f6830548c9e23c8e24831666b44d6257bc5 100644 (file)
@@ -15,9 +15,18 @@ my %locmap=(
 );
 
 sub import { #{{{
+       hook(type => "getsetup", id => "sparkline", call => \&getsetup);
        hook(type => "preprocess", id => "sparkline", call => \&preprocess);
 } # }}}
 
+sub getsetup () { #{{{
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               },
+} #}}}
+
 sub preprocess (@) { #{{{
        my %params=@_;