X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/cebbb6f482492ba776a1ca542e81a74fb74fbfce..a4a1b8e6532b38cc3d045647b568cb2e6d737524:/IkiWiki/Plugin/calendar.pm diff --git a/IkiWiki/Plugin/calendar.pm b/IkiWiki/Plugin/calendar.pm index b808c9d1d..6d536a91b 100644 --- a/IkiWiki/Plugin/calendar.pm +++ b/IkiWiki/Plugin/calendar.pm @@ -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,