diff --git a/_data/site.js b/_data/site.js index 3a0442f..a43c9fa 100644 --- a/_data/site.js +++ b/_data/site.js @@ -14,10 +14,10 @@ function parseSocialLinks(envVar) { if (!envVar) return []; return envVar.split(",").map((link) => { const [name, url, icon] = link.split("|").map((s) => s.trim()); - // Bluesky requires "me atproto" for verification + if (!url) return null; const rel = url.includes("bsky.app") ? "me atproto" : "me"; return { name, url, rel, icon: icon || name.toLowerCase() }; - }); + }).filter(Boolean); } // Get fediverse handle for fediverse:creator meta tag