]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/pagetemplate.pm
not quite there yet
[ikiwiki.git] / IkiWiki / Plugin / pagetemplate.pm
index 205f5a9d77b13ce34b6b30d7d528f7658315df09..99a66ee96964f9750ab3d2d41a6ec87755cd31a0 100644 (file)
@@ -8,10 +8,19 @@ use IkiWiki 2.00;
 my %templates;
 
 sub import { #{{{
+       hook(type => "getsetup", id => "pagetemplate", call => \&getsetup);
        hook(type => "preprocess", id => "pagetemplate", call => \&preprocess);
        hook(type => "templatefile", id => "pagetemplate", call => \&templatefile);
 } # }}}
 
+sub getsetup () { #{{{
+       return 
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               },
+} #}}}
+
 sub preprocess (@) { #{{{
        my %params=@_;