diff --git a/_includes/components/blog-sidebar.njk b/_includes/components/blog-sidebar.njk index c98a913..68f1975 100644 --- a/_includes/components/blog-sidebar.njk +++ b/_includes/components/blog-sidebar.njk @@ -35,13 +35,16 @@ {% elif widget.type == "recent-comments" %} {% include "components/widgets/recent-comments.njk" %} {% elif widget.type == "search" %} +

Search

+
{% elif widget.type == "custom-html" %} {% set wConfig = widget.config or {} %} +
{% if wConfig.title %}

{{ wConfig.title }}

@@ -52,6 +55,7 @@
{% endif %} +
{% else %} {% endif %} diff --git a/_includes/components/comments.njk b/_includes/components/comments.njk index 57e9b42..6943098 100644 --- a/_includes/components/comments.njk +++ b/_includes/components/comments.njk @@ -1,6 +1,7 @@ {# Comments section — shown on post pages before webmentions #} {% set absoluteUrl = site.url + page.url %} +
@@ -92,3 +93,4 @@
+
diff --git a/_includes/components/cv-sidebar.njk b/_includes/components/cv-sidebar.njk index a54011d..d4d9211 100644 --- a/_includes/components/cv-sidebar.njk +++ b/_includes/components/cv-sidebar.njk @@ -18,16 +18,19 @@ {% elif widget.type == "categories" %} {% include "components/widgets/categories.njk" %} {% elif widget.type == "search" %} +

Search

+
{% elif widget.type == "webmentions" %} {% include "components/widgets/webmentions.njk" %} {% elif widget.type == "custom-html" %} {# Custom content widget #} {% set wConfig = widget.config or {} %} +
{% if wConfig.title %}

{{ wConfig.title }}

@@ -38,6 +41,7 @@
{% endif %} +
{% else %} {% endif %} diff --git a/_includes/components/homepage-sidebar.njk b/_includes/components/homepage-sidebar.njk index f05c80c..9ab8b26 100644 --- a/_includes/components/homepage-sidebar.njk +++ b/_includes/components/homepage-sidebar.njk @@ -18,11 +18,13 @@ {% elif widget.type == "categories" %} {% include "components/widgets/categories.njk" %} {% elif widget.type == "search" %} +

Search

+
{% elif widget.type == "webmentions" %} {% include "components/widgets/webmentions.njk" %} {% elif widget.type == "recent-comments" %} @@ -30,6 +32,7 @@ {% elif widget.type == "custom-html" %} {# Custom content widget #} {% set wConfig = widget.config or {} %} +
{% if wConfig.title %}

{{ wConfig.title }}

@@ -40,6 +43,7 @@
{% endif %} +
{% else %} {% endif %} diff --git a/_includes/components/sidebar.njk b/_includes/components/sidebar.njk index 9a10180..8d0aee5 100644 --- a/_includes/components/sidebar.njk +++ b/_includes/components/sidebar.njk @@ -29,15 +29,18 @@ {% elif widget.type == "recent-comments" %} {% include "components/widgets/recent-comments.njk" %} {% elif widget.type == "search" %} +

Search

+
{% elif widget.type == "webmentions" %} {% include "components/widgets/webmentions.njk" %} {% elif widget.type == "custom-html" %} {% set wConfig = widget.config or {} %} +
{% if wConfig.title %}

{{ wConfig.title }}

@@ -48,6 +51,7 @@
{% endif %} +
{% else %} {% endif %} diff --git a/_includes/components/widgets/author-card-compact.njk b/_includes/components/widgets/author-card-compact.njk index 95e87dc..56f075f 100644 --- a/_includes/components/widgets/author-card-compact.njk +++ b/_includes/components/widgets/author-card-compact.njk @@ -1,4 +1,5 @@ {# Author Compact Card - h-card microformat (compact version for blog sidebars) #} +
{# Hidden u-photo for reliable microformat parsing #} @@ -26,3 +27,4 @@ {% if site.author.email %}{% endif %} {% if site.author.org %}{% endif %}
+ diff --git a/_includes/components/widgets/author-card.njk b/_includes/components/widgets/author-card.njk index 50a5048..f205d58 100644 --- a/_includes/components/widgets/author-card.njk +++ b/_includes/components/widgets/author-card.njk @@ -1,4 +1,6 @@ {# Author Card Widget - includes the canonical h-card component #} +
{% include "components/h-card.njk" %}
+
diff --git a/_includes/components/widgets/categories.njk b/_includes/components/widgets/categories.njk index 74ef98b..b071191 100644 --- a/_includes/components/widgets/categories.njk +++ b/_includes/components/widgets/categories.njk @@ -1,5 +1,6 @@ {# Categories/Tags Widget #} {% if categories and categories.length %} +

Categories

@@ -10,4 +11,5 @@ {% endfor %}
+
{% endif %} diff --git a/_includes/components/widgets/funkwhale.njk b/_includes/components/widgets/funkwhale.njk index 5ac286a..3928f4e 100644 --- a/_includes/components/widgets/funkwhale.njk +++ b/_includes/components/widgets/funkwhale.njk @@ -1,6 +1,7 @@ {# Listening Widget — combined Funkwhale + Last.fm recent tracks #} {% set hasListening = (funkwhaleActivity and (funkwhaleActivity.nowPlaying or funkwhaleActivity.listenings.length)) or (lastfmActivity and (lastfmActivity.nowPlaying or lastfmActivity.scrobbles.length)) %} {% if hasListening %} +

@@ -110,4 +111,5 @@

+
{% endif %} diff --git a/_includes/components/widgets/post-categories.njk b/_includes/components/widgets/post-categories.njk index 22b4417..006a7ed 100644 --- a/_includes/components/widgets/post-categories.njk +++ b/_includes/components/widgets/post-categories.njk @@ -1,5 +1,6 @@ {# Categories for This Post #} {% if category %} +

Categories

@@ -16,4 +17,5 @@ {% endif %}
+
{% endif %} diff --git a/_includes/components/widgets/post-navigation.njk b/_includes/components/widgets/post-navigation.njk index c67f896..8427fd4 100644 --- a/_includes/components/widgets/post-navigation.njk +++ b/_includes/components/widgets/post-navigation.njk @@ -4,6 +4,7 @@ {% set _nextPost = collections.posts | nextInCollection(page) %} {% if _prevPost or _nextPost %} +

More Posts

@@ -61,4 +62,5 @@ {% endif %}
+
{% endif %} diff --git a/_includes/components/widgets/recent-comments.njk b/_includes/components/widgets/recent-comments.njk index dad7828..1a9a7eb 100644 --- a/_includes/components/widgets/recent-comments.njk +++ b/_includes/components/widgets/recent-comments.njk @@ -1,5 +1,6 @@ {# Recent Comments Widget — sidebar #} {% if recentComments and recentComments.length %} +

Recent Comments

    @@ -22,4 +23,5 @@ {% endfor %}
+
{% endif %} diff --git a/_includes/components/widgets/recent-posts-blog.njk b/_includes/components/widgets/recent-posts-blog.njk index b2b96f4..2b90663 100644 --- a/_includes/components/widgets/recent-posts-blog.njk +++ b/_includes/components/widgets/recent-posts-blog.njk @@ -1,6 +1,7 @@ {# Recent Posts Widget — type-aware, for blog/post sidebars #} {# Uses collections.posts directly (all post types, not just recentPosts collection) #} {% if collections.posts %} +

Recent Posts

    @@ -80,4 +81,5 @@ View all posts
+
{% endif %} diff --git a/_includes/components/widgets/recent-posts.njk b/_includes/components/widgets/recent-posts.njk index 68dcb15..bdde1ba 100644 --- a/_includes/components/widgets/recent-posts.njk +++ b/_includes/components/widgets/recent-posts.njk @@ -1,5 +1,6 @@ {# Recent Posts Widget (sidebar) - compact type-aware list #} {% if recentPosts and recentPosts.length %} +

Recent Posts

    @@ -87,4 +88,5 @@ View all posts
+
{% endif %} diff --git a/_includes/components/widgets/share.njk b/_includes/components/widgets/share.njk index 878d810..497a3d5 100644 --- a/_includes/components/widgets/share.njk +++ b/_includes/components/widgets/share.njk @@ -1,4 +1,5 @@ {# Share Widget #} +

Share

@@ -22,3 +23,4 @@
+
diff --git a/_includes/components/widgets/subscribe.njk b/_includes/components/widgets/subscribe.njk index 984c589..1bcc381 100644 --- a/_includes/components/widgets/subscribe.njk +++ b/_includes/components/widgets/subscribe.njk @@ -1,4 +1,5 @@ {# Subscribe Widget #} +

Subscribe

@@ -16,3 +17,4 @@
+
diff --git a/_includes/components/widgets/toc.njk b/_includes/components/widgets/toc.njk index 3b06235..9eea319 100644 --- a/_includes/components/widgets/toc.njk +++ b/_includes/components/widgets/toc.njk @@ -1,5 +1,6 @@ {# Table of Contents Widget (for articles with headings) #} {% if toc and toc.length %} +

Contents

+
{% endif %}