]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/calendar.pm
po(otherlanguagesloop): start factorizing
[git.ikiwiki.info.git] / IkiWiki / Plugin / calendar.pm
index b808c9d1d64bbc5adf226335e14b31d7b5c67085..6d536a91bb63a6e0a32f399844115e52208d5bdf 100644 (file)
@@ -30,16 +30,20 @@ my $time=time;
 my @now=localtime($time);
 
 sub import { #{{{
-       hook(type => "getsetup", id => "version", call => \&getsetup);
-       hook(type => "needsbuild", id => "version", call => \&needsbuild);
+       hook(type => "getsetup", id => "calendar", call => \&getsetup);
+       hook(type => "needsbuild", id => "calendar", call => \&needsbuild);
        hook(type => "preprocess", id => "calendar", call => \&preprocess);
 } #}}}
 
 sub getsetup () { #{{{
        return
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               },
                archivebase => {
                        type => "string",
-                       default => "archives",
+                       example => "archives",
                        description => "base of the archives hierarchy",
                        safe => 1,
                        rebuild => 1,