correct links to atom feed
This commit is contained in:
parent
2ba1198b90
commit
f98a4ee42c
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue