diff --git a/_includes/components/blog-sidebar.njk b/_includes/components/blog-sidebar.njk
index 0cbfb38..c108cdb 100644
--- a/_includes/components/blog-sidebar.njk
+++ b/_includes/components/blog-sidebar.njk
@@ -1,75 +1,239 @@
{# Blog Sidebar - Shown on individual post pages #}
{# Data-driven when homepageConfig.blogPostSidebar is configured, otherwise falls back to default widgets #}
+{# Each widget is wrapped in a collapsible container with localStorage persistence #}
{% if homepageConfig and homepageConfig.blogPostSidebar and homepageConfig.blogPostSidebar.length %}
{# === Data-driven mode: render configured widgets === #}
{% for widget in homepageConfig.blogPostSidebar %}
- {% if widget.type == "author-card-compact" %}
- {% include "components/widgets/author-card-compact.njk" %}
- {% elif widget.type == "author-card" %}
- {% include "components/widgets/author-card.njk" %}
- {% elif widget.type == "toc" %}
- {% include "components/widgets/toc.njk" %}
- {% elif widget.type == "post-categories" %}
- {% include "components/widgets/post-categories.njk" %}
- {% elif widget.type == "recent-posts" %}
- {% include "components/widgets/recent-posts-blog.njk" %}
- {% elif widget.type == "webmentions" %}
- {% include "components/widgets/webmentions.njk" %}
- {% elif widget.type == "share" %}
- {% include "components/widgets/share.njk" %}
- {% elif widget.type == "subscribe" %}
- {% include "components/widgets/subscribe.njk" %}
- {% elif widget.type == "social-activity" %}
- {% include "components/widgets/social-activity.njk" %}
- {% elif widget.type == "github-repos" %}
- {% include "components/widgets/github-repos.njk" %}
- {% elif widget.type == "funkwhale" %}
- {% include "components/widgets/funkwhale.njk" %}
- {% elif widget.type == "blogroll" %}
- {% include "components/widgets/blogroll.njk" %}
- {% elif widget.type == "feedland" %}
- {% include "components/widgets/feedland.njk" %}
- {% elif widget.type == "categories" %}
- {% include "components/widgets/categories.njk" %}
- {% elif widget.type == "recent-comments" %}
- {% include "components/widgets/recent-comments.njk" %}
- {% elif widget.type == "search" %}
-