File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- * @ jbampton
1+ * @ BaseMax @ jbampton
Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments