]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/format.pm
autoindex: Switch to using %wikistate instead of abusing $pagestate{index}.
[ikiwiki.git] / IkiWiki / Plugin / format.pm
index 1513cbed72a67447fa8bcedd9bff1f10ce076262..d54e7113198093a2a939315077f7f99d34c529a8 100644 (file)
@@ -7,6 +7,16 @@ use IkiWiki 3.00;
 
 sub import {
        hook(type => "preprocess", id => "format", call => \&preprocess);
+       hook(type => "getsetup",   id => "format", call => \&getsetup);
+}
+
+sub getsetup () {
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+                       section => "widget",
+               },
 }
 
 sub preprocess (@) {