website/www: use absolute links in the feed

Some feed readers, like FeedBurner[1] don't support content
that uses relative links. This just makes them absolute so they
will work everywhere.

[1]: https://support.google.com/feedburner/answer/79018?hl=en
This commit is contained in:
Jack Pearkes 2014-02-17 14:37:51 -05:00
parent 4f89bdb947
commit 91db388748
1 changed files with 1 additions and 1 deletions

View File

@ -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