From daf813e19224391928dd8ba22cb28b0d6947e6f0 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Wed, 18 Feb 2026 12:20:38 +0100 Subject: [PATCH] fix: wrap webmentions widget in is-land for lazy loading The webmentions sidebar widget uses Alpine.js + fetch API but was missing the is-land on:visible wrapper that all other JS-dependent sidebar widgets have. This defers its initialization until scrolled into view, consistent with social-activity, github-repos, funkwhale, blogroll, and feedland widgets. --- _includes/components/widgets/webmentions.njk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_includes/components/widgets/webmentions.njk b/_includes/components/widgets/webmentions.njk index a19814b..9b1b472 100644 --- a/_includes/components/widgets/webmentions.njk +++ b/_includes/components/widgets/webmentions.njk @@ -1,6 +1,7 @@ {# Recent Webmentions Widget - site-wide inbound/outbound activity #} {# Uses client-side fetch from /webmentions/api/mentions (same as /interactions page) #} {# Outbound tab uses Eleventy collections (likes, replies, bookmarks, reposts) #} +

@@ -148,3 +149,4 @@ function webmentionsWidget() { }; } +