]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/template.pm
plugin enable/disable working and bugfixes
[git.ikiwiki.info.git] / IkiWiki / Plugin / template.pm
index c33dbbb83b8d1623ffd1348667247ec3be04f082..a2859b2a99864ddb0e9d33cea8106b46ffbc8775 100644 (file)
@@ -9,9 +9,18 @@ use HTML::Template;
 use Encode;
 
 sub import { #{{{
+       hook(type => "getsetup", id => "template", call => \&getsetup);
        hook(type => "preprocess", id => "template", call => \&preprocess);
 } # }}}
 
+sub getsetup () { #{{{
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               },
+} #}}}
+
 sub preprocess (@) { #{{{
        my %params=@_;