From: Simon McVittie Date: Fri, 11 Jul 2008 22:42:38 +0000 (+0100) Subject: meta plugin: also collect [[!meta uuid="..."]] X-Git-Tag: 2.54~124^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9b34b879e2825a1d8d0d930a01c35306891b823b;p=ikiwiki.git meta plugin: also collect [[!meta uuid="..."]] --- 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;