Commit 5899adf1 authored by Florian Lemaitre's avatar Florian Lemaitre

fixes #1492 Broken RSS atom feed

parent a323f740
......@@ -14,13 +14,13 @@
- blog.articles[0..20].each do |article|
%entry
%title=article.title.gsub(/&/,'&')
%title= h(article.title)
%link{:rel => "alternate", :href => URI.join(site_url, article.url)}
%id= URI.join(site_url, article.url)
%published= article.date.to_datetime.rfc3339
%updated= article.date.to_datetime.rfc3339
%author
%name= article.data.author
%name= h(article.data.author)
- if article.metadata[:options][:layout] == 'release'
%content{:type => "html"}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment