aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-07 21:48:03 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-07 21:52:37 -0400
commit5f9860e65c65aa769f11e550e63cc164b1519710 (patch)
tree17acaf0972db127281f06a4116058775be8b7d6c /IkiWiki/Plugin
parent83b9bf54ec85f7c1156983108f57c2b1af0e8fe5 (diff)
downloadikiwiki-5f9860e65c65aa769f11e550e63cc164b1519710.tar
ikiwiki-5f9860e65c65aa769f11e550e63cc164b1519710.tar.gz
add type info to influence information
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/meta.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index a8ee5bc85..c160e7eba 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -291,14 +291,14 @@ sub match {
if (defined $val) {
if ($val=~/^$re$/i) {
- return IkiWiki::SuccessReason->new("$re matches $field of $page", $page);
+ return IkiWiki::SuccessReason->new("$re matches $field of $page", $page => $IkiWiki::DEPEND_CONTENT);
}
else {
- return IkiWiki::FailReason->new("$re does not match $field of $page", $page);
+ return IkiWiki::FailReason->new("$re does not match $field of $page", $page => $IkiWiki::DEPEND_CONTENT);
}
}
else {
- return IkiWiki::FailReason->new("$page does not have a $field", $page);
+ return IkiWiki::FailReason->new("$page does not have a $field", $page => $IkiWiki::DEPEND_CONTENT);
}
}