From 334b8fdcf5c91301ca08d8a83e6346e48eb3e42f Mon Sep 17 00:00:00 2001 From: Ricardo Date: Fri, 20 Feb 2026 12:53:42 +0100 Subject: [PATCH] fix: revert unfurl from recent-posts section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Async shortcodes inside deeply nested Nunjucks includes (homepage-builder → homepage-section → recent-posts) cause silent template failures. Keep unfurl in top-level collection pages only. --- .../components/sections/recent-posts.njk | 36 ++++++++++--------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/_includes/components/sections/recent-posts.njk b/_includes/components/sections/recent-posts.njk index 2e7b36e..a0fbc58 100644 --- a/_includes/components/sections/recent-posts.njk +++ b/_includes/components/sections/recent-posts.njk @@ -40,10 +40,11 @@ {{ post.date | dateDisplay }} - {% unfurl likedUrl %} - - {{ likedUrl }} - +

+ + {{ likedUrl }} + +

{% if post.templateContent %}
{{ post.templateContent | safe }} @@ -73,10 +74,11 @@ {{ post.data.title }} {% endif %} - {% unfurl bookmarkedUrl %} - - {{ bookmarkedUrl }} - +

+ + {{ bookmarkedUrl }} + +

{% if post.templateContent %}
{{ post.templateContent | safe }} @@ -101,10 +103,11 @@ {{ post.date | dateDisplay }}
- {% unfurl repostedUrl %} - - {{ repostedUrl }} - +

+ + {{ repostedUrl }} + +

{% if post.templateContent %}
{{ post.templateContent | safe }} @@ -129,10 +132,11 @@ {{ post.date | dateDisplay }}
- {% unfurl replyToUrl %} - - {{ replyToUrl }} - +

+ + {{ replyToUrl }} + +

{% if post.templateContent %}
{{ post.templateContent | safe }}