]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/skeleton.pm.example
Add an XSLT style sheet for WP->iki conversion
[git.ikiwiki.info.git] / IkiWiki / Plugin / skeleton.pm.example
index adffc91c9e64d9296baaedf5bd5ffe67acd24e44..a57a2c8fe575626c7144256185f94e05bdfe8f2c 100644 (file)
@@ -41,6 +41,7 @@ sub import {
        hook(type => "rename", id => "skeleton", call => \&rename);
        hook(type => "savestate", id => "skeleton", call => \&savestate);
        hook(type => "genwrapper", id => "skeleton", call => \&genwrapper);
        hook(type => "rename", id => "skeleton", call => \&rename);
        hook(type => "savestate", id => "skeleton", call => \&savestate);
        hook(type => "genwrapper", id => "skeleton", call => \&genwrapper);
+       hook(type => "disable", id => "skeleton", call => \&disable);
 }
 
 sub getopt () {
 }
 
 sub getopt () {
@@ -52,6 +53,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => undef,
                plugin => {
                        safe => 1,
                        rebuild => undef,
+                       section => "misc",
                },
                skeleton => {
                        type => "boolean",
                },
                skeleton => {
                        type => "boolean",
@@ -253,4 +255,8 @@ sub genwrapper () {
        debug("skeleton plugin running in genwrapper");
 }
 
        debug("skeleton plugin running in genwrapper");
 }
 
+sub savestate () {
+       debug("skeleton plugin running in disable");
+}
+
 1
 1