diff options
author | martin f. krafft <madduck@madduck.net> | 2008-03-11 14:00:59 +0100 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-03-11 15:53:21 -0400 |
commit | c471d5425faa1ce813a4ce8d564bf634346746a3 (patch) | |
tree | 8e4dfad2975f122cb03ac2ba76fe20c24c855d5f /IkiWiki/Plugin | |
parent | 816d124a64e9cc928ea7caee2b54abd32eb42fa1 (diff) |
Generate openid2 headers as well
This causes meta.openid to also generate the openid2 headers.
Signed-off-by: martin f. krafft <madduck@madduck.net>
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/meta.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index b98864722..0c210b64d 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -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"'. |