From 6a225eda72cbb94324694032b5a7cdb4b0258240 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sat, 2 May 2026 21:02:27 +1000 Subject: [PATCH] Add country to profiles on index page --- src/index.njk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/index.njk b/src/index.njk index e921a24a..4ce4a1e6 100644 --- a/src/index.njk +++ b/src/index.njk @@ -28,10 +28,11 @@ layout: false

{{ person.data.name }}

{{ person.data.role }}

+ {% set country = person.data.country %} {% set location = person.data.location %} - {% if location %} + {% if location or country %} - {{ location }} + {{ location }}{% if location and country %}, {% endif %}{{ country }} {% endif %}