From e608a671ab069569ece942beee5b2de9b601b3ee Mon Sep 17 00:00:00 2001 From: ashishxdev Date: Sat, 4 Apr 2026 15:21:29 +0530 Subject: [PATCH 1/3] FIX #408 Hide location row when no location --- src/_includes/bio.njk | 6 +++++- src/index.njk | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/_includes/bio.njk b/src/_includes/bio.njk index 1981886..5033037 100644 --- a/src/_includes/bio.njk +++ b/src/_includes/bio.njk @@ -22,10 +22,14 @@
+ {% if location %}
📍 - {{ location }}{% if country %}, {{ country }}{% endif %} + + {% if location and country %}{{ location }}, {{ country }}{% elif location %}{{ location }}{% endif %} +
+ {% endif %} {% if email %}
diff --git a/src/index.njk b/src/index.njk index e921a24..c0729ce 100644 --- a/src/index.njk +++ b/src/index.njk @@ -29,7 +29,7 @@ layout: false

{{ person.data.role }}

{% set location = person.data.location %} - {% if location %} + {% if location and location | trim %} {{ location }} From 3fe80e97b9a8729ba2b31d65e9e464a659a3156f Mon Sep 17 00:00:00 2001 From: ashishxdev Date: Sat, 4 Apr 2026 15:50:22 +0530 Subject: [PATCH 2/3] fix #408 hide location row when no location --- package-lock.json | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8d9bbd2..17eb8e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -870,9 +870,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -889,9 +886,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -908,9 +902,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -927,9 +918,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ From 363751d0c4dc9b6151e2aafdee60067e4915f626 Mon Sep 17 00:00:00 2001 From: ashishxdev Date: Sat, 4 Apr 2026 16:02:31 +0530 Subject: [PATCH 3/3] fix #408 hide location icon and row when location is empty or whitespace --- src/_includes/bio.njk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/_includes/bio.njk b/src/_includes/bio.njk index 5033037..8c36142 100644 --- a/src/_includes/bio.njk +++ b/src/_includes/bio.njk @@ -22,12 +22,10 @@
- {% if location %} + {% if location | trim %}
📍 - - {% if location and country %}{{ location }}, {{ country }}{% elif location %}{{ location }}{% endif %} - + {{ location | trim }}{% if country %}, {{ country }}{% endif %}
{% endif %}