summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/inline.pm4
-rw-r--r--IkiWiki/Plugin/meta.pm4
2 files changed, 4 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index 2226e5723..2dcd1a90a 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -443,8 +443,8 @@ sub genfeed ($$$$@) { #{{{
);
if (exists $pagestate{$p} &&
- exists $pagestate{$p}{meta}{uuid}) {
- $itemtemplate->param(uuid => $pagestate{$p}{meta}{uuid});
+ exists $pagestate{$p}{meta}{guid}) {
+ $itemtemplate->param(guid => $pagestate{$p}{meta}{guid});
}
if ($itemtemplate->query(name => "enclosure")) {
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') {