]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/otl.pm
po: add comments
[git.ikiwiki.info.git] / IkiWiki / Plugin / otl.pm
index 7d382b38b62d70dc24029c19a5f62d2379d7b062..ef76d621549d44dd575fda54dfa1760bb5c4febd 100644 (file)
@@ -8,11 +8,20 @@ use IkiWiki 2.00;
 use open qw{:utf8 :std};
 
 sub import { #{{{
+       hook(type => "getsetup", id => "otl", call => \&getsetup);
        hook(type => "filter", id => "otl", call => \&filter);
        hook(type => "htmlize", id => "otl", call => \&htmlize);
 
 } # }}}
 
+sub getsetup () { #{{{
+       return 
+               plugin => {
+                       safe => 1,
+                       rebuild => 1, # format plugin
+               },
+} #}}}
+
 sub filter (@) { #{{{
        my %params=@_;