forked from Mirrors/keyoxide-web
Add rel=me to profile links
This commit is contained in:
parent
9232e2e9fe
commit
3a999cccc8
1 changed files with 1 additions and 1 deletions
|
@ -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`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue