From 79172aff12c017eb58c72470a89e3e02d0d9f7a2 Mon Sep 17 00:00:00 2001 From: Laurens Nienhaus Date: Sun, 4 Oct 2015 17:51:17 +0200 Subject: [PATCH] Do not mark internal links as nofollow --- app/views/spree/static_content/_static_content_list.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spree/static_content/_static_content_list.html.erb b/app/views/spree/static_content/_static_content_list.html.erb index 8275b7ee..4a082a88 100644 --- a/app/views/spree/static_content/_static_content_list.html.erb +++ b/app/views/spree/static_content/_static_content_list.html.erb @@ -2,5 +2,5 @@
  • <%= link_to page.title, page.foreign_link, target: '_blank', ref: 'nofollow' %>
  • <% else %> <% page_uri = Rails.application.routes.named_routes[:spree].path.spec.to_s == '/' ? page.slug : Rails.application.routes.named_routes[:spree].path.spec.to_s + page.slug %> -
  • <%= link_to page.title, page_uri, ref: 'nofollow' %>
  • +
  • <%= link_to page.title, page_uri %>
  • <% end %>