]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/skeleton.pm.example
po plugin: name rendered master pages like slave ones (page.html.LL)
[git.ikiwiki.info.git] / IkiWiki / Plugin / skeleton.pm.example
index f844ddb91ddaa96680094d792df96af2ddd4a229..af22b340659bd72067c1cd552e69c221dd7ab364 100644 (file)
@@ -34,6 +34,7 @@ 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 => "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);
 } # }}}
 
 sub getopt () { #{{{
 } # }}}
 
 sub getopt () { #{{{
@@ -204,4 +205,8 @@ sub savestate () { #{{{
        debug("skeleton plugin running in savestate");
 } #}}}
 
        debug("skeleton plugin running in savestate");
 } #}}}
 
+sub targetpage () { #{{{
+       debug("skeleton plugin running in targetpage");
+} #}}}
+
 1
 1