From 9b34b879e2825a1d8d0d930a01c35306891b823b Mon Sep 17 00:00:00 2001
From: Simon McVittie
Date: Fri, 11 Jul 2008 23:42:38 +0100
Subject: [PATCH] meta plugin: also collect [[!meta uuid="..."]]
---
IkiWiki/Plugin/meta.pm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index 671060fbf..81355ef6d 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -84,6 +84,10 @@ sub preprocess (@) { #{{{
$pagestate{$page}{meta}{description}=HTML::Entities::encode_numeric($value);
# fallthrough
}
+ elsif ($key eq 'uuid') {
+ $pagestate{$page}{meta}{uuid}=HTML::Entities::encode_numeric($value);
+ # fallthrough
+ }
elsif ($key eq 'license') {
push @{$metaheaders{$page}}, '';
$pagestate{$page}{meta}{license}=$value;
--
2.39.5