X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c10cfb27d1e15eb3d69923e8aae9e84f3f14926a..f7bdc2385:/IkiWiki/Plugin/meta.pm?ds=sidebyside diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index 2df5a727c..8a9a5382b 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -140,10 +140,18 @@ sub preprocess (@) { #{{{ if (exists $params{server} && safeurl($params{server})) { push @{$metaheaders{$page}}, ''; + push @{$metaheaders{$page}}, ''; } if (safeurl($value)) { push @{$metaheaders{$page}}, ''; + push @{$metaheaders{$page}}, ''; + } + if (exists $params{"xrds-location"} && safeurl($params{"xrds-location"})) { + push @{$metaheaders{$page}}, ''; } } elsif ($key eq 'redir') { @@ -195,7 +203,7 @@ sub preprocess (@) { #{{{ } elsif ($key eq 'robots') { push @{$metaheaders{$page}}, ''; + ' content="'.encode_entities($value).'" />'; } else { push @{$metaheaders{$page}}, scrub('