diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-12 10:59:45 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-12 10:59:45 -0400 |
commit | ca30d95a78ca974c040c152b8c31bdd63f219e6b (patch) | |
tree | 46836ee0e155992c3be7199832791950e6a5519c /IkiWiki/Plugin/meta.pm | |
parent | c522fffe09eea30a97213af1ecddfe6833d131e7 (diff) | |
download | ikiwiki-ca30d95a78ca974c040c152b8c31bdd63f219e6b.tar ikiwiki-ca30d95a78ca974c040c152b8c31bdd63f219e6b.tar.gz |
rename uuid to guid
Diffstat (limited to 'IkiWiki/Plugin/meta.pm')
-rw-r--r-- | IkiWiki/Plugin/meta.pm | 4 |
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') { |