Add rel=me to profile links

This commit is contained in:
Yarmo Mackenbach 2021-05-04 12:55:25 +02:00
parent 9232e2e9fe
commit 3a999cccc8
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -122,7 +122,7 @@ class Claim extends HTMLElement {
const profile_link = subsection_links_text.appendChild(document.createElement('p')); const profile_link = subsection_links_text.appendChild(document.createElement('p'));
if (claim.matches[0].profile.uri) { if (claim.matches[0].profile.uri) {
profile_link.innerHTML = `Profile link: <a href="${claim.matches[0].profile.uri}">${claim.matches[0].profile.uri}</a>`; profile_link.innerHTML = `Profile link: <a rel="me" href="${claim.matches[0].profile.uri}">${claim.matches[0].profile.uri}</a>`;
} else { } else {
profile_link.innerHTML = `Profile link: not accessible from browser`; profile_link.innerHTML = `Profile link: not accessible from browser`;
} }