--- import { t } from "@/i18n/translations"; import { getWebmentionsForUrl } from "@/utils/webmentions"; import Comments from "./Comments.astro"; import Likes from "./Likes.astro"; interface Props { language?: string | undefined; } const { language } = Astro.props; const url = new URL(Astro.url.pathname, Astro.site); const webMentions = await getWebmentionsForUrl(`${url}`); // Return if no webmentions if (!webMentions.length) return; ---
{t(language, "responsesPoweredBy")}{" "} Webmentions