Mark "me" links in description

This commit is contained in:
2025-05-26 10:25:59 +04:00
parent aa944e8894
commit 1fc46a38a8
2 changed files with 2 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ document.addEventListener('DOMContentLoaded', function() {
links.forEach(link => {
const uri = link.href.replace(/^(nostr|web+nostr):/, "").trim();
let text = link.title?.trim() || '';
if (link.rel === "me") text = `Me: ${text}`;
if (link.rel === "author") text = `Author: ${text}`;
linkMap.set(uri, {