]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/postsparkline.pm
po plugin: implemented po_link_to=negotiated
[git.ikiwiki.info.git] / IkiWiki / Plugin / postsparkline.pm
index 6fc96f8b343cbca8eeeb893c41e2569a962d915c..1f4c065c1e1f09ad6ba9d395ecd3c002a1bb0a25 100644 (file)
@@ -7,9 +7,18 @@ use IkiWiki 2.00;
 
 sub import { #{{{
        IkiWiki::loadplugin('sparkline');
 
 sub import { #{{{
        IkiWiki::loadplugin('sparkline');
+       hook(type => "getsetup", id => "postsparkline", call => \&getsetup);
        hook(type => "preprocess", id => "postsparkline", call => \&preprocess);
 } # }}}
 
        hook(type => "preprocess", id => "postsparkline", call => \&preprocess);
 } # }}}
 
+sub getsetup () { #{{{
+       return 
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               },
+} #}}}
+
 sub preprocess (@) { #{{{
        my %params=@_;
 
 sub preprocess (@) { #{{{
        my %params=@_;