aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/haiku.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/haiku.pm')
-rw-r--r--IkiWiki/Plugin/haiku.pm8
1 files changed, 7 insertions, 1 deletions
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.