]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/meta.pm
Merge branch 'master' into debian-jessie-backports
[git.ikiwiki.info.git] / IkiWiki / Plugin / meta.pm
index 794f6d861dbfb8bb5ca9fc452ae089055768b432..ea099f955ac1c486cdd2baf6636e330a8eae569c 100644 (file)
@@ -130,6 +130,7 @@ sub preprocess (@) {
 
                $value=urlto($link, $page, 1);
                $pagestate{$page}{meta}{enclosure}=$value;
+               $pagestate{$page}{meta}{enclosurefile}=$link;
                # fallthrough
        }
        elsif ($key eq 'author') {
@@ -293,6 +294,7 @@ sub preprocess (@) {
        elsif ($key eq 'name') {
                push @{$metaheaders{$page}}, scrub('<meta name="'.
                        encode_entities($value).
+                       '" '.
                        join(' ', map { "$_=\"$params{$_}\"" } keys %params).
                        ' />', $page, $destpage);
        }