mirror of
https://github.com/silverstripe/silverstripe-versionfeed
synced 2024-10-22 11:05:31 +02:00
Merge pull request #22 from textagroup/textagroup-patch-1
Update alternate xml link tag to be W3 compliant
This commit is contained in:
commit
50661260c9
@ -163,7 +163,7 @@ class VersionFeed_Controller extends Extension {
|
|||||||
$url = $this->owner->getSiteRSSLink();
|
$url = $this->owner->getSiteRSSLink();
|
||||||
|
|
||||||
Requirements::insertHeadTags(
|
Requirements::insertHeadTags(
|
||||||
'<link rel="alternate nofollow" type="application/rss+xml" title="' . $title .
|
'<link rel="alternate" type="application/rss+xml" title="' . $title .
|
||||||
'" href="' . $url . '" />');
|
'" href="' . $url . '" />');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user