From e80cb2ac02254080564b056747f60786dbe196f4 Mon Sep 17 00:00:00 2001 From: decabeza Date: Wed, 17 May 2017 14:20:30 +0200 Subject: [PATCH] adds rel nofollow on external footer links --- app/views/layouts/_footer.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb index b96d34625..ed6027618 100644 --- a/app/views/layouts/_footer.html.erb +++ b/app/views/layouts/_footer.html.erb @@ -7,8 +7,8 @@

<%= t("layouts.footer.description", - open_source: link_to(t("layouts.footer.open_source"), t("layouts.footer.open_source_url"), target: "blank"), - consul: link_to(t("layouts.footer.consul"), t("layouts.footer.consul_url"), target: "blank")).html_safe + open_source: link_to(t("layouts.footer.open_source"), t("layouts.footer.open_source_url"), target: "blank", rel: "nofollow"), + consul: link_to(t("layouts.footer.consul"), t("layouts.footer.consul_url"), target: "blank", rel: "nofollow")).html_safe %> <%= t("layouts.footer.contact_us") %> <%= link_to t("layouts.footer.faq"), faq_path %>