diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2019-01-01 00:22:48 +0100 |
---|---|---|
committer | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2019-01-03 17:04:18 +0100 |
commit | 6dca1432e811ec6964145b390be62f1406ecf626 (patch) | |
tree | 32fd694faaad75c27ae676e8a7abe0db17cf30a9 | |
parent | 1915873e5955db02ca9b3cd81892676e615a279d (diff) | |
download | gitlab-ce-6dca1432e811ec6964145b390be62f1406ecf626.tar.gz |
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
-rw-r--r-- | app/views/users/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
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') |