]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/meta.pm
Generate openid2 headers as well
[git.ikiwiki.info.git] / IkiWiki / Plugin / meta.pm
index b9886472250ba9e78194ff1ccdf05275979408a0..0c210b64d6b78f2f028d07680a566137833656d4 100644 (file)
@@ -140,10 +140,14 @@ sub preprocess (@) { #{{{
                if (exists $params{server} && safeurl($params{server})) {
                        push @{$metaheaders{$page}}, '<link href="'.encode_entities($params{server}).
                                '" rel="openid.server" />';
+                       push @{$metaheaders{$page}}, '<link href="'.encode_entities($params{server}).
+                               '" rel="openid2.provider" />';
                }
                if (safeurl($value)) {
                        push @{$metaheaders{$page}}, '<link href="'.encode_entities($value).
                                '" rel="openid.delegate" />';
+                       push @{$metaheaders{$page}}, '<link href="'.encode_entities($value).
+                               '" rel="openid2.local_id" />';
                }
                if (exists $params{xrds-location} && safeurl($params{xrds-location})) {
                        push @{$metaheaders{$page}}, '<meta http-equiv="X-XRDS-Location"'.