Commit 6dca1432 authored by Wiktor Kwapisiewicz's avatar Wiktor Kwapisiewicz

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
parent 1915873e
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
= icon('twitter-square') = icon('twitter-square')
- unless @user.website_url.blank? - unless @user.website_url.blank?
.profile-link-holder.middle-dot-divider .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? - unless @user.location.blank?
.profile-link-holder.middle-dot-divider .profile-link-holder.middle-dot-divider
= icon('map-marker') = icon('map-marker')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment