X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/cddc335b2bd98a302b261200c12d61b05476d727..1a37848346fd4853e8961e81d576906f4a5cab78:/IkiWiki/Plugin/ddate.pm?ds=inline 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') {