removes rel nofollow on social networks links

This commit is contained in:
decabeza
2017-05-31 12:56:25 +02:00
parent c01a2150b9
commit 4dedacc82f

View File

@@ -48,7 +48,7 @@
<ul>
<% if setting['twitter_handle'] %>
<li class="inline-block">
<%= link_to "https://twitter.com/#{setting['twitter_handle']}", target: "_blank", title: t("social.twitter") + t('shared.target_blank_html'), rel: "nofollow" do %>
<%= link_to "https://twitter.com/#{setting['twitter_handle']}", target: "_blank", title: t("social.twitter") + t('shared.target_blank_html') do %>
<span class="sr-only"><%= t("social.twitter") %></span>
<span class="icon-twitter" aria-hidden="true"></span>
<% end %>
@@ -56,7 +56,7 @@
<% end %>
<% if setting['facebook_handle'] %>
<li class="inline-block">
<%= link_to "https://www.facebook.com/#{setting['facebook_handle']}/", target: "_blank", title: t("social.facebook") + t('shared.target_blank_html'), rel: "nofollow" do %>
<%= link_to "https://www.facebook.com/#{setting['facebook_handle']}/", target: "_blank", title: t("social.facebook") + t('shared.target_blank_html') do %>
<span class="sr-only"><%= t("social.facebook") %></span>
<span class="icon-facebook" aria-hidden="true"></span>
<% end %>
@@ -64,7 +64,7 @@
<% end %>
<% if setting['blog_url'] %>
<li class="inline-block">
<%= link_to setting['blog_url'], target: "_blank", title: t("social.blog") + t('shared.target_blank_html'), rel: "nofollow" do %>
<%= link_to setting['blog_url'], target: "_blank", title: t("social.blog") + t('shared.target_blank_html') do %>
<span class="sr-only"><%= t("social.blog") %></span>
<span class="icon-blog" aria-hidden="true"></span>
<% end %>
@@ -72,7 +72,7 @@
<% end %>
<% if setting['youtube_handle'] %>
<li class="inline-block">
<%= link_to "https://www.youtube.com/#{setting['youtube_handle']}", target: "_blank", title: t("social.youtube") + t('shared.target_blank_html'), rel: "nofollow" do %>
<%= link_to "https://www.youtube.com/#{setting['youtube_handle']}", target: "_blank", title: t("social.youtube") + t('shared.target_blank_html') do %>
<span class="sr-only"><%= t("social.youtube") %></span>
<span class="icon-youtube" aria-hidden="true"></span>
<% end %>
@@ -80,7 +80,7 @@
<% end %>
<% if setting['telegram_handle'] %>
<li class="inline-block">
<%= link_to "https://www.telegram.me/#{setting['telegram_handle']}", target: "_blank", title: t("social.telegram") + t('shared.target_blank_html'), rel: "nofollow" do %>
<%= link_to "https://www.telegram.me/#{setting['telegram_handle']}", target: "_blank", title: t("social.telegram") + t('shared.target_blank_html') do %>
<span class="sr-only"><%= t("social.telegram") %></span>
<span class="icon-telegram" aria-hidden="true"></span>
<% end %>
@@ -88,7 +88,7 @@
<% end %>
<% if setting['instagram_handle'] %>
<li class="inline-block">
<%= link_to "https://www.instagram.com/#{setting['instagram_handle']}", target: "_blank", title: t("social.instagram") + t('shared.target_blank_html'), rel: "nofollow" do %>
<%= link_to "https://www.instagram.com/#{setting['instagram_handle']}", target: "_blank", title: t("social.instagram") + t('shared.target_blank_html') do %>
<span class="sr-only"><%= t("social.instagram") %></span>
<span class="icon-instagram" aria-hidden="true"></span>
<% end %>