From 0df793a6feaa0b4adf0b2cc44b8c5a2a360f8db7 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Mon, 26 Nov 2018 10:53:18 -0500 Subject: [PATCH] Adds rel='me' to profile links. (#1183) rel='me' is used on hyperlinks from one page about a person to other pages about that same person. (http://microformats.org/wiki/rel-me) rel='me' is supported on other social sites, such as Twitter and GitHub. Thought it might have a place here on DEV too. --- app/views/articles/index.html.erb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/views/articles/index.html.erb b/app/views/articles/index.html.erb index 353846f45..fb0dd8030 100644 --- a/app/views/articles/index.html.erb +++ b/app/views/articles/index.html.erb @@ -124,53 +124,53 @@

<% if @user.twitter_username.present? %> - + <%= inline_svg("twitter-logo.svg", class:"icon-img") %> <% end %> <% if @user.github_username.present? %> - + <%= inline_svg("github-logo.svg", class:"icon-img") %> <% end %> <% if @user.class.name == "User" %> <% if @user.facebook_url.present? %> - + <%= inline_svg("facebook-logo.svg", class:"icon-img") %> <% end %> <% if @user.linkedin_url.present? %> - + <%= inline_svg("linkedin_icon.svg", class:"icon-img") %> <% end %> <% if @user.behance_url.present? %> - + <%= inline_svg("behance_icon.svg", class:"icon-img") %> <% end %> <% if @user.stackoverflow_url.present? %> - + <%= inline_svg("stackoverflow-logo.svg", class:"icon-img") %> <% end %> <% if @user.dribbble_url.present? %> - + <%= inline_svg("dribbble_icon.svg", class:"icon-img") %> <% end %> <% if @user.medium_url.present? %> - + <%= inline_svg("medium_icon.svg", class:"icon-img") %> <% end %> <% if @user.gitlab_url.present? %> - + <%= inline_svg("gitlab.svg", class:"icon-img") %> <% end %> <% if @user.website_url.present? %> - + <%= inline_svg("external-link-logo.svg", class:"icon-img") %> <% end %>