]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Correct meta.robots attribute value->content
authormartin f. krafft <madduck@madduck.net>
Tue, 11 Mar 2008 22:02:01 +0000 (23:02 +0100)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 11 Mar 2008 22:37:04 +0000 (18:37 -0400)
This was a silly typo, sorry. <meta ...> takes an attribute content, not
value.

Signed-off-by: martin f. krafft <madduck@madduck.net>
IkiWiki/Plugin/meta.pm

index 0c210b64d6b78f2f028d07680a566137833656d4..8803747fb9bd3cb932b222f9dd8f81aa600874b8 100644 (file)
@@ -203,7 +203,7 @@ sub preprocess (@) { #{{{
        }
        elsif ($key eq 'robots') {
                push @{$metaheaders{$page}}, '<meta name="robots"'.
-                       ' value="'.encode_entities($value).'" />';
+                       ' content="'.encode_entities($value).'" />';
        }
        else {
                push @{$metaheaders{$page}}, scrub('<meta name="'.encode_entities($key).