As mentioned in earlier commits, opening external links in a new tab/window results in usability and accessibility issues. Since these links are usually at the top or bottom of the page and contain icons of well-known sites, IMHO there's no need to even notify people that these are external links. Since we're no longer using the `shared.target_blank` translation inside a sentence, we can remove the space and parenthesis in the translations.
15 lines
394 B
Plaintext
15 lines
394 B
Plaintext
<div class="social">
|
|
<ul>
|
|
<% sites.each do |name, url| %>
|
|
<li>
|
|
<%= link_to "#{url}/#{setting["#{name}_handle"]}", title: link_title(name) do %>
|
|
<span class="show-for-sr"><%= link_text(name) %></span>
|
|
<span class="icon-<%= name %>" aria-hidden="true"></span>
|
|
<% end %>
|
|
</li>
|
|
<% end %>
|
|
|
|
<%= raw footer_content_block %>
|
|
</ul>
|
|
</div>
|