Instead of hacking back to $link, just provide it.
[ikiwiki.git] / IkiWiki / Plugin / meta.pm
index 794f6d861dbfb8bb5ca9fc452ae089055768b432..e7b96bdf142f47e221e321b4ecb8ce68ab4989f8 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') {