X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/18b3e970ffcc0f74d68538b7094f76442a294609..0d8cbfc5e0c1c1408d2d48707fefbd60c12b78a6:/IkiWiki/Plugin/polygen.pm?ds=sidebyside diff --git a/IkiWiki/Plugin/polygen.pm b/IkiWiki/Plugin/polygen.pm index 70378cf1b..fa564aa86 100644 --- a/IkiWiki/Plugin/polygen.pm +++ b/IkiWiki/Plugin/polygen.pm @@ -11,9 +11,18 @@ use IkiWiki 2.00; use File::Find; sub import { #{{{ + hook(type => "getsetup", id => "polygen", call => \&getsetup); hook(type => "preprocess", id => "polygen", call => \&preprocess); } # }}} +sub getsetup () { #{{{ + return + plugin => { + safe => 1, + rebuild => undef, + }, +} #}}} + sub preprocess (@) { #{{{ my %params=@_; my $grammar = ($params{grammar} or 'polygen');