]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/haiku.pm
Add modified opengraph plugin.
[git.ikiwiki.info.git] / IkiWiki / Plugin / haiku.pm
index bf23dce673f4b93a264545a4ab4c4156ef869eef..7ce74696ba474aa3e4a75d12f7a2cf3eb49b02cf 100644 (file)
@@ -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.