X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/b74b7ab68b983b3f7d9e561eb991b21764cdb3be..efcbb32f7c54ad8ffa2e56d52e651c18bd8be55a:/IkiWiki/Plugin/calendar.pm diff --git a/IkiWiki/Plugin/calendar.pm b/IkiWiki/Plugin/calendar.pm index b808c9d1d..6f1f9bd07 100644 --- a/IkiWiki/Plugin/calendar.pm +++ b/IkiWiki/Plugin/calendar.pm @@ -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,