feat: wrap all widgets and comments in is-land on:visible

Add <is-land on:visible> lazy-loading wrapper to every widget template
and the comments section for consistent deferred rendering. Widgets
that already had it (social-activity, github-repos, blogroll, feedland,
webmentions) are unchanged. Also wraps inline search and custom-html
widgets in all sidebar container files.
This commit is contained in:
Ricardo
2026-02-22 00:31:01 +01:00
parent 791dccf223
commit 1bf6f9358a
17 changed files with 42 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
{# Subscribe Widget #}
<is-land on:visible>
<div class="widget">
<h3 class="widget-title">Subscribe</h3>
<div class="space-y-2">
@@ -16,3 +17,4 @@
</a>
</div>
</div>
</is-land>