]> sipb.mit.edu Git - ikiwiki.git/commitdiff
meta: Export author information in html <meta> tag. Closes: #664779 Thanks, Martin...
authorJoey Hess <joey@kitenet.net>
Mon, 26 Mar 2012 15:01:16 +0000 (11:01 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 27 Mar 2012 19:52:35 +0000 (15:52 -0400)
IkiWiki/Plugin/meta.pm
debian/changelog

index 220fff9dccaa547824ccb0bc7a19ddbe583f516d..9b7b9854ffa504e17c65f8c83abc302eaf4dfa81 100644 (file)
@@ -275,6 +275,11 @@ sub preprocess (@) {
                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).
index 0eca18aed14c102d422cd54b5589508fe06bcdd8..f51f77cd7ee23fb5d41e2f3f0b43621691ec01d1 100644 (file)
@@ -3,6 +3,8 @@ ikiwiki (3.20120204) UNRELEASED; urgency=low
   * Remove dead link from plugins/teximg. Closes: #664885
   * inline: When the pagenames list includes pages that do not exist, skip
     them.
+  * meta: Export author information in html <meta> tag. Closes: #664779
+    Thanks, Martin Michlmayr
 
  -- Joey Hess <joeyh@debian.org>  Wed, 21 Mar 2012 14:33:14 -0400