aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/meta.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-12 10:59:45 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-12 10:59:45 -0400
commitca30d95a78ca974c040c152b8c31bdd63f219e6b (patch)
tree46836ee0e155992c3be7199832791950e6a5519c /IkiWiki/Plugin/meta.pm
parentc522fffe09eea30a97213af1ecddfe6833d131e7 (diff)
downloadikiwiki-ca30d95a78ca974c040c152b8c31bdd63f219e6b.tar
ikiwiki-ca30d95a78ca974c040c152b8c31bdd63f219e6b.tar.gz
rename uuid to guid
Diffstat (limited to 'IkiWiki/Plugin/meta.pm')
-rw-r--r--IkiWiki/Plugin/meta.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index 02c99e9f6..d7f56a8bd 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -84,14 +84,14 @@ sub preprocess (@) { #{{{
$pagestate{$page}{meta}{description}=HTML::Entities::encode_numeric($value);
# fallthrough
}
- elsif ($key eq 'uuid') {
+ elsif ($key eq 'guid') {
my $abs = $value;
if ($abs =~ m/^[[:xdigit:]]{8}-[[:xdigit:]]{4}-[[:xdigit]]{4}-[[:xdigit:]]{4}-[[:xdigit:]]{12}$/) {
$abs = lc "urn:uuid:$abs";
}
- $pagestate{$page}{meta}{uuid}=HTML::Entities::encode_numeric($abs);
+ $pagestate{$page}{meta}{guid}=HTML::Entities::encode_numeric($abs);
# fallthrough
}
elsif ($key eq 'license') {