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
po.t: fix expected results
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
meta.pm
diff --git
a/IkiWiki/Plugin/meta.pm
b/IkiWiki/Plugin/meta.pm
index 128a6342c74a4ad13adb2f0521d85ddfb29232bb..7d68a9b2dc4a9adc990042d07e12205850c5e3fd 100644
(file)
--- a/
IkiWiki/Plugin/meta.pm
+++ b/
IkiWiki/Plugin/meta.pm
@@
-346,11
+346,11
@@
sub match {
return IkiWiki::SuccessReason->new("$re matches $field of $page", $page => $IkiWiki::DEPEND_CONTENT, "" => 1);
}
else {
return IkiWiki::SuccessReason->new("$re matches $field of $page", $page => $IkiWiki::DEPEND_CONTENT, "" => 1);
}
else {
- return IkiWiki::FailReason->new("$re does not match $field of $page", "" => 1);
+ return IkiWiki::FailReason->new("$re does not match $field of $page",
$page => $IkiWiki::DEPEND_CONTENT,
"" => 1);
}
}
else {
}
}
else {
- return IkiWiki::FailReason->new("$page does not have a $field",
"" => 1
);
+ return IkiWiki::FailReason->new("$page does not have a $field",
$page => $IkiWiki::DEPEND_CONTENT
);
}
}
}
}
@@
-376,6
+376,10
@@
sub match_copyright ($$;@) {
IkiWiki::Plugin::meta::match("copyright", @_);
}
IkiWiki::Plugin::meta::match("copyright", @_);
}
+sub match_guid ($$;@) {
+ IkiWiki::Plugin::meta::match("guid", @_);
+}
+
package IkiWiki::SortSpec;
sub cmp_meta {
package IkiWiki::SortSpec;
sub cmp_meta {