From 4aa001e1e91ee2e0bd6e997a8bc40ef16e83cb5e Mon Sep 17 00:00:00 2001 From: Adrian Altner Date: Wed, 22 Apr 2026 01:58:44 +0200 Subject: [PATCH] Add logging for mentions data in Webmentions component --- src/components/Webmentions.astro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Webmentions.astro b/src/components/Webmentions.astro index 58e9efb..bc83bf8 100644 --- a/src/components/Webmentions.astro +++ b/src/components/Webmentions.astro @@ -15,6 +15,10 @@ const { likes, reposts, replies, mentions } = groupMentions(all); const facepile = [...likes, ...reposts]; +console.log( + `[webmentions component] target=${target.toString()} all=${all.length} likes=${likes.length} reposts=${reposts.length} replies=${replies.length} mentions=${mentions.length} facepile=${facepile.length}`, +); + function authorInitial(m: WMEntry) { return m.author?.name?.trim()?.[0]?.toUpperCase() ?? '?'; }