Add rel=me to verified links

This commit is contained in:
Yarmo Mackenbach 2020-07-19 12:21:59 +02:00
parent efa31cc844
commit ee76db48bb

View file

@ -179,7 +179,7 @@ async function verifyProofs(opts) {
feedback += `${verifications[i].type}: `;
feedback += `<a class="proofDisplay" href="${verifications[i].url}">${verifications[i].display}</a>`;
if (verifications[i].isVerified) {
feedback += `<a class="proofUrl proofUrl--verified" href="${verifications[i].proofUrl}">verified &#10004;</a>`;
feedback += `<a class="proofUrl proofUrl--verified" href="${verifications[i].proofUrl}" rel="me">verified &#10004;</a>`;
} else {
feedback += `<a class="proofUrl" href="${verifications[i].proofUrl}">unverified</a>`;
}
@ -334,7 +334,7 @@ async function displayProfile(opts) {
feedback += `<div class="profileDataItem__value">`;
feedback += `<a class="proofDisplay" href="${verifications[i].url}">${verifications[i].display}</a>`;
if (verifications[i].isVerified) {
feedback += `<a class="proofUrl proofUrl--verified" href="${verifications[i].proofUrl}">verified &#10004;</a>`;
feedback += `<a class="proofUrl proofUrl--verified" href="${verifications[i].proofUrl}" rel="me">verified &#10004;</a>`;
} else {
feedback += `<a class="proofUrl" href="${verifications[i].proofUrl}">unverified</a>`;
}