]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/hnb.pm
po: new po_translation_status_in_links option
[git.ikiwiki.info.git] / IkiWiki / Plugin / hnb.pm
index 846b0f2c9333f27c2356fecca9d679cba8159964..d5b5ce3b4a1a46e67eb7dca435976c5b73658034 100644 (file)
@@ -14,9 +14,18 @@ use IkiWiki 2.00;
 use File::Temp qw(:mktemp);
 
 sub import {
 use File::Temp qw(:mktemp);
 
 sub import {
+       hook(type => "getsetup", id => "hnb", call => \&getsetup);
        hook(type => "htmlize", id => "hnb", call => \&htmlize);
 }
 
        hook(type => "htmlize", id => "hnb", call => \&htmlize);
 }
 
+sub getsetup () {
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => 1, # format plugin
+               },
+}
+
 sub htmlize (@) {
        my %params = @_;
 
 sub htmlize (@) {
        my %params = @_;