X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2d3dc86d07a7ebf5f638084259ae2d9c2c63e6b6..1a37848346fd4853e8961e81d576906f4a5cab78:/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') {