]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/calendar.pm
rcs plugin loading reorg
[ikiwiki.git] / IkiWiki / Plugin / calendar.pm
index b808c9d1d64bbc5adf226335e14b31d7b5c67085..6f1f9bd0729d5ccc539fc83a8bd32cb58274a2c0 100644 (file)
@@ -30,8 +30,8 @@ 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);
 } #}}}
 
@@ -39,7 +39,7 @@ sub getsetup () { #{{{
        return
                archivebase => {
                        type => "string",
-                       default => "archives",
+                       example => "archives",
                        description => "base of the archives hierarchy",
                        safe => 1,
                        rebuild => 1,