diff options
Diffstat (limited to 'IkiWiki')
-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 2df5a727c..b98864722 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -145,6 +145,10 @@ sub preprocess (@) { #{{{ push @{$metaheaders{$page}}, '<link href="'.encode_entities($value). '" rel="openid.delegate" />'; } + if (exists $params{xrds-location} && safeurl($params{xrds-location})) { + push @{$metaheaders{$page}}, '<meta http-equiv="X-XRDS-Location"'. + 'content="'.encode_entities($params{xrds-location}).'" />'; + } } elsif ($key eq 'redir') { return "" if $page ne $destpage; |