]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/parentlinks.pm
add plugin safe/rebuild info (part 2 of 3)
[ikiwiki.git] / IkiWiki / Plugin / parentlinks.pm
index 890a349b597ed2b7193ece1738436c595bd6c05b..4525145d6968d9a55e5dd6c2cc2bef360f188ae9 100644 (file)
@@ -7,9 +7,18 @@ use strict;
 use IkiWiki 2.00;
 
 sub import { #{{{
+       hook(type => "parentlinks", id => "parentlinks", call => \&parentlinks);
        hook(type => "pagetemplate", id => "parentlinks", call => \&pagetemplate);
 } # }}}
 
+sub getsetup () { #{{{
+       return 
+               plugin => {
+                       safe => 1,
+                       rebuild => 1,
+               },
+} #}}}
+
 sub parentlinks ($) { #{{{
        my $page=shift;