--- import Icon from "./Icon.astro"; import { SITE, authors } from "../lib/blog-data.js"; // Social profiles come from site.config.json -> author.sameAs, which is also // what feeds the Person JSON-LD. One list, not two. const socials = (authors[0]?.sameAs ?? []).map((href) => { const host = new URL(href).hostname.replace(/^www\./, ""); const label = host.split(".")[0]; return { href, label: label.charAt(0).toUpperCase() + label.slice(1) }; }); const { flush = false } = Astro.props; ---