* Martin Michlmayr <[email protected]> [2012-03-20 19:44]:
> According to http://www.i18nguy.com/markup/metatags.html
> <meta content="author" ... /> is valid as well, so it would be nice if
> the author information would be exported to the HTML.

Write the author information to HTML:

--- a/IkiWiki/Plugin/meta.pm    2012-03-26 00:43:05.257460466 +0100
+++ b/IkiWiki/Plugin/meta.pm    2012-03-26 01:12:52.726324044 +0100
@@ -275,6 +275,11 @@
                push @{$metaheaders{$page}}, '<meta name="robots"'.
                        ' content="'.encode_entities($value).'" />';
        }
+       elsif ($key eq 'author') {
+               push @{$metaheaders{$page}}, '<meta name="'.
+                       encode_entities($key).
+                       '" content="'.encode_entities($value).'" />';
+       }
        elsif ($key eq 'description') {
                push @{$metaheaders{$page}}, '<meta name="'.
                        encode_entities($key).

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to