]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/skeleton.pm.example
po plugin: refresh POT files when a master page is updated
[git.ikiwiki.info.git] / IkiWiki / Plugin / skeleton.pm.example
index f844ddb91ddaa96680094d792df96af2ddd4a229..ecf2a2407ca135d91503b4ebe3ed27d7bebf89f3 100644 (file)
@@ -34,6 +34,8 @@ sub import { #{{{
        hook(type => "formbuilder_setup", id => "skeleton", call => \&formbuilder_setup);
        hook(type => "formbuilder", id => "skeleton", call => \&formbuilder);
        hook(type => "savestate", id => "skeleton", call => \&savestate);
+       hook(type => "targetpage", id => "skeleton", call => \&targetpage);
+       hook(type => "urlpath", id => "skeleton", call => \&urlpath);
 } # }}}
 
 sub getopt () { #{{{
@@ -204,4 +206,12 @@ sub savestate () { #{{{
        debug("skeleton plugin running in savestate");
 } #}}}
 
+sub targetpage () { #{{{
+       debug("skeleton plugin running in targetpage");
+} #}}}
+
+sub urlpath () { #{{{
+       debug("skeleton plugin running in urlpath");
+} #}}}
+
 1