Add a postscan hook.
[ikiwiki.git] / IkiWiki / Plugin / skeleton.pm
index 17a2162ffc240728f17ec44f149e79c65597705d..1af8e4e9df3b0903cd1341327f606fd4599afcde 100644 (file)
@@ -18,6 +18,7 @@ sub import { #{{{
        hook(type => "scan", id => "skeleton", call => \&scan);
        hook(type => "htmlize", id => "skeleton", call => \&htmlize);
        hook(type => "sanitize", id => "skeleton", call => \&sanitize);
+       hook(type => "postscan", id => "skeleton", call => \&postscan);
        hook(type => "format", id => "skeleton", call => \&format);
        hook(type => "pagetemplate", id => "skeleton", call => \&pagetemplate);
        hook(type => "templatefile", id => "skeleton", call => \&templatefile);
@@ -89,6 +90,12 @@ sub sanitize (@) { #{{{
        return $params{content};
 } # }}}
 
+sub postscan (@) { #{{{
+       my %params=@_;
+       
+       debug("skeleton plugin running as postscan");
+} # }}}
+
 sub format (@) { #{{{
        my %params=@_;