From c4e12619a160c8494032fae333c8a55ed3e3a3a6 Mon Sep 17 00:00:00 2001 From: Adrian Altner Date: Wed, 22 Apr 2026 02:07:18 +0200 Subject: [PATCH] Add debug logging for presence of mentions and facepile in Webmentions component --- src/components/Webmentions.astro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/Webmentions.astro b/src/components/Webmentions.astro index bc83bf8..1c1f00f 100644 --- a/src/components/Webmentions.astro +++ b/src/components/Webmentions.astro @@ -34,8 +34,14 @@ function formatDate(iso?: string) { } const hasAny = facepile.length > 0 || replies.length > 0 || mentions.length > 0; + +console.log(`[webmentions component] hasAny=${hasAny}`); --- + +
DEBUG: hasAny={hasAny ? 'true' : 'false'} facepile={facepile.length} likes={likes.length}
+ + { hasAny && (