Skip to content

Commit b3e746e

Browse files
authored
Merge branch 'main' into copilot/fix-directory-header-color
2 parents 60785b8 + 3a3e294 commit b3e746e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @jbampton
1+
* @BaseMax @jbampton

src/index.njk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ layout: false
2828
<h2 class="text-2xl font-bold group-hover:text-accent transition-colors">{{ person.data.name }}</h2>
2929
<p class="text-accent font-semibold text-sm uppercase tracking-wider">{{ person.data.role }}</p>
3030
</div>
31+
{% set country = person.data.country %}
3132
{% set location = person.data.location %}
32-
{% if location %}
33+
{% if location or country %}
3334
<span class="shrink-0 text-[10px] bg-[var(--bg-footer)] text-[var(--text-muted)] px-2 py-1 rounded font-bold uppercase border border-[var(--border-color)]">
34-
{{ location }}
35+
{{ location }}{% if location and country %}, {% endif %}{{ country }}
3536
</span>
3637
{% endif %}
3738
</div>

0 commit comments

Comments
 (0)