correct links to atom feed

This commit is contained in:
MrZYX 2011-04-02 17:35:23 +02:00
parent 2ba1198b90
commit f98a4ee42c
2 changed files with 3 additions and 3 deletions

View file

@ -71,9 +71,9 @@
- if @person
%link{:rel => "alternate", :href => "#{@person.public_url}", :type => "application/atom+xml", :title => "#{t('.public_feed', :name => @person.name)}"}
%link{:rel => "alternate", :href => "#{@person.public_url}.atom", :type => "application/atom+xml", :title => "#{t('.public_feed', :name => @person.name)}"}
- elsif current_user
%link{:rel => "alternate", :href => "#{current_user.public_url}", :type => "application/atom+xml", :title => "#{t('.public_feed', :name => current_user.name)}"}
%link{:rel => "alternate", :href => "#{current_user.public_url}.atom", :type => "application/atom+xml", :title => "#{t('.public_feed', :name => current_user.name)}"}
%body{:class => "#{yield(:body_class)}"}
- unless @landing_page

View file

@ -9,7 +9,7 @@
=t('.outside')
%br
%br
= link_to "RSS", current_user.public_url
= link_to "RSS", "#{current_user.public_url}.atom"
%br
- if current_user.services
- for service in current_user.services