We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a64d0f commit 072ee5bCopy full SHA for 072ee5b
1 file changed
src/index.njk
@@ -31,9 +31,10 @@ layout: false
31
{% set country = person.data.country %}
32
{% set location = person.data.location %}
33
{% if location or country %}
34
- <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)]">
35
- {{ location }}{% if location and country %}, {% endif %}{{ country }}
36
- </span>
+ <div class="flex flex-col items-end gap-0.5 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)]">
+ {% if location %}<span>{{ location }}</span>{% endif %}
+ {% if country %}<span>{{ country }}</span>{% endif %}
37
+ </div>
38
{% endif %}
39
</div>
40
0 commit comments