Skip to content

Commit

Permalink
FORGE-753: Fixed broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jan 19, 2013
1 parent e3f3604 commit 20f221d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _layouts/atom.xml.haml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- unless page.entries.empty?
%updated= page.entries.first.date.xmlschema
%link{:rel=>"self", :type=>"application/atom+xml", :href=>"#{site.base_url}#{page.url}" }
%link{:rel=>"alternate", :type=>"text/html", :href=>"#{site.base_url}/blog" }
%link{:rel=>"alternate", :type=>"text/html", :href=>"#{site.base_url}" }
- page.entries.each do |entry|
%entry
%id #{site.base_url}#{entry.url}
Expand All @@ -32,9 +32,9 @@
- if (!entry.author.url.nil?)
%uri= entry.author.url
- entry.tags.each do |tag|
%category{:term=>tag, :scheme=>"#{site.base_url}/blog/tags"}/
%category{:term=>tag, :scheme=>"#{site.base_url}/"}/
- entry.additional_tags.each do |tag|
%category{:term=>tag, :scheme=>"#{site.base_url}/blog"}/
%category{:term=>tag, :scheme=>"#{site.base_url}/"}/
%summary
#{summarize(html_to_text(entry.content), 100 )}...
%content{:type=>'html'}
Expand Down

0 comments on commit 20f221d

Please sign in to comment.