]> sipb.mit.edu Git - ikiwiki.git/commitdiff
meta plugin: also collect [[!meta uuid="..."]]
authorSimon McVittie <http://smcv.pseudorandom.co.uk/>
Fri, 11 Jul 2008 22:42:38 +0000 (23:42 +0100)
committerSimon McVittie <http://smcv.pseudorandom.co.uk/>
Fri, 11 Jul 2008 22:42:38 +0000 (23:42 +0100)
IkiWiki/Plugin/meta.pm

index 671060fbfa677e300a1f5ec7036c1488957e88bf..81355ef6d7a73d657be87eae768e0bfa206a77ba 100644 (file)
@@ -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}}, '<link rel="license" href="#page_license" />';
                $pagestate{$page}{meta}{license}=$value;