From 405de33a48e892877c51ee1c174d857a0c3f7a60 Mon Sep 17 00:00:00 2001 From: arijitroy003 Date: Thu, 23 Jul 2026 14:37:01 +0530 Subject: [PATCH] fix: use correct conditional checks for Twitter and GitHub links in featured cards The Twitter and GitHub link blocks in the featured project cards both checked `feature.website` instead of `feature.twitter` and `feature.github` respectively. This caused those links to render whenever a website was set, even if no Twitter/GitHub URL existed, and to be hidden when only Twitter/GitHub was set without a website. Fixes #396 --- templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index e1e6e00..ea7fd92 100644 --- a/templates/index.html +++ b/templates/index.html @@ -44,7 +44,7 @@ {% endif %} - {% if feature.website %} + {% if feature.twitter %}
  • @@ -52,7 +52,7 @@
  • {% endif %} - {% if feature.website %} + {% if feature.github %}