Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
haiku.pm
diff --git
a/IkiWiki/Plugin/haiku.pm
b/IkiWiki/Plugin/haiku.pm
index 5a062a27606be6a0cb8d9a5a4f06ce8c0ec5cd6a..7ce74696ba474aa3e4a75d12f7a2cf3eb49b02cf 100644
(file)
--- a/
IkiWiki/Plugin/haiku.pm
+++ b/
IkiWiki/Plugin/haiku.pm
@@
-16,6
+16,7
@@
sub getsetup {
plugin => {
safe => 1,
rebuild => undef,
plugin => {
safe => 1,
rebuild => undef,
+ section => "widget",
},
}
},
}
@@
-24,7
+25,13
@@
sub preprocess (@) {
my $haiku;
eval q{use Coy};
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.
my @canned=(
"The lack of a Coy:
No darting, subtle haiku.