mirror of
https://github.com/silverstripe/silverstripe-versionfeed
synced 2024-10-22 11:05:31 +02:00
Update alternate xml link tag to be W3 compliant
The link tag being produced was not W3 compliant as it was using the nofollow value in the rel attribute on a link tag which is not permitted as per the W3 standards http://www.w3.org/TR/html5/links.html#linkTypes
This commit is contained in:
parent
b6179c5eef
commit
f0c92002b6
@ -163,7 +163,7 @@ class VersionFeed_Controller extends Extension {
|
||||
$url = $this->owner->getSiteRSSLink();
|
||||
|
||||
Requirements::insertHeadTags(
|
||||
'<link rel="alternate nofollow" type="application/rss+xml" title="' . $title .
|
||||
'<link rel="alternate" type="application/rss+xml" title="' . $title .
|
||||
'" href="' . $url . '" />');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user