From 8266accd933a38336486a51a7aa0be6d1ce28812 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Thu, 23 Jan 2025 14:05:32 -0300 Subject: [PATCH] Fix related external posts (#2980) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #2977 Signed-off-by: George Araújo --- _includes/related_posts.liquid | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/_includes/related_posts.liquid b/_includes/related_posts.liquid index f695201..7531f17 100644 --- a/_includes/related_posts.liquid +++ b/_includes/related_posts.liquid @@ -13,7 +13,16 @@ {% endunless %}
  • - {{ post.title }} + {% if post.redirect == blank %} + {{ post.title }} + {% elsif post.redirect contains '://' %} + {{ post.title }} + + + + {% else %} + {{ post.title }} + {% endif %}
  • {% endfor %} {% if site.newsletter.enabled and site.footer_fixed %}