From 6dca1432e811ec6964145b390be62f1406ecf626 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Tue, 1 Jan 2019 00:22:48 +0100 Subject: Add rel=me to user's website link rel=me links allow cross-linking of user's identities. This behavior is used by software to determine if user controls profiles on two different sites. For example Mastodon uses it to display verified badge on links. Both Twitter and GitHub automatically add rel=me to links added to users' profiles. See: https://www.zylstra.org/blog/2018/10/mastodon-rel-me/ See: http://microformats.org/wiki/rel-me --- app/views/users/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index dd2cd36eac2..8da63a29ca6 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -71,7 +71,7 @@ = icon('twitter-square') - unless @user.website_url.blank? .profile-link-holder.middle-dot-divider - = link_to @user.short_website_url, @user.full_website_url, class: 'text-link', target: '_blank', rel: 'noopener noreferrer nofollow' + = link_to @user.short_website_url, @user.full_website_url, class: 'text-link', target: '_blank', rel: 'me noopener noreferrer nofollow' - unless @user.location.blank? .profile-link-holder.middle-dot-divider = icon('map-marker') -- cgit v1.2.3