Files
svemagie cf917a9010
Build & Deploy / build-and-deploy (push) Successful in 2m1s
Fix Mastodon/Bsky duplicate replies in webmentions.js
webmentions.js was adding NEW cards for Mastodon replies even when
Alpine had already rendered them, because the client-side filter didn't
mirror the Nunjucks build-time fed.brid.gy exclusion rule.

Pass mastodon-active + bsky-url as data attributes on the webmentions
container div, then filter out fed.brid.gy sourced Mastodon replies
and bsky.app/brid.gy/bluesky Bluesky replies from regularItems when
the corresponding Alpine component is active.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 19:20:16 +02:00
..