Merge pull request #2996 from pearkes/website-rss-absolute
website/www: use absolute links in the feed
This commit is contained in:
commit
8159f248a7
|
@ -11,7 +11,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
|||
blog.articles[0..5].each do |article|
|
||||
xml.entry do
|
||||
xml.title article.title
|
||||
xml.link "rel" => "alternate", "href" => article.url
|
||||
xml.link "rel" => "alternate", "href" => "http://www.vagrantup.com#{article.url}"
|
||||
xml.id article.url
|
||||
xml.published article.date.to_time.iso8601
|
||||
xml.updated article.date.to_time.iso8601
|
||||
|
|
Loading…
Reference in New Issue