X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9f401d6617a11efcedda1c956b2ccea061a7540f..ec371adab1109b338a3de473298b41140ec5017e:/IkiWiki/Plugin/haiku.pm?ds=sidebyside diff --git a/IkiWiki/Plugin/haiku.pm b/IkiWiki/Plugin/haiku.pm index bf23dce67..7ce74696b 100644 --- a/IkiWiki/Plugin/haiku.pm +++ b/IkiWiki/Plugin/haiku.pm @@ -25,7 +25,13 @@ sub preprocess (@) { my $haiku; eval q{use Coy}; - if ($@ || ! Coy->can("Coy::with_haiku")) { + if ($config{deterministic}) { + $haiku = "Coy changes often. + For deterministic builds + try this substitute. + ", + } + elsif ($@ || ! Coy->can("Coy::with_haiku")) { my @canned=( "The lack of a Coy: No darting, subtle haiku.