From 134e8a1b201a5d19cc5fd4f2c51f2c872f3c4022 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Wed, 3 Aug 2011 18:30:25 -0700 Subject: [PATCH] limit RSS rel link in layout to person pages --- app/views/layouts/application.html.haml | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 74e636c42..71812c0e0 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -77,8 +77,6 @@ - if @person %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}.atom", :type => "application/atom+xml", :title => "#{t('.public_feed', :name => current_user.name)}"} %body{:class => "#{yield(:body_class)}"} - unless @landing_page