X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/f92505d78b82c6ac146e43054ebd12441575a602..219afc3f9c646f323c9a51744b6fba43f04786db:/IkiWiki/Plugin/ddate.pm diff --git a/IkiWiki/Plugin/ddate.pm b/IkiWiki/Plugin/ddate.pm index d081cb509..2ec122833 100644 --- a/IkiWiki/Plugin/ddate.pm +++ b/IkiWiki/Plugin/ddate.pm @@ -6,9 +6,18 @@ use IkiWiki 2.00; no warnings; sub import { #{{{ + hook(type => "getsetup", id => "ddate", call => \&getsetup); hook(type => "checkconfig", id => "ddate", call => \&checkconfig); } # }}} +sub getsetup { #{{{ + return + plugin => { + safe => 1, + rebuild => 1, + }, +} #}}} + sub checkconfig () { #{{{ if (! defined $config{timeformat} || $config{timeformat} eq '%c') {