Skip to content

Commit 720974e

Browse files
authored
Fix comma bug with locations (#153)
* Fix comma bug with locations * Update network.md
1 parent d6f2e6b commit 720974e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

_layouts/network.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ title: Network Profile
1414
<span class="subtitle">{{ page.email }}</span>
1515
</a>
1616
<br>
17-
<span class="subtitle">{{ page.country }}, {{ page.location }}</span>
17+
<span class="subtitle">
18+
{{ page.country }}{% if page.country != blank and page.location != blank %}, {% endif %}{{ page.location }}
19+
</span>
1820

1921
<table width="100%" border="0">
2022
<tr>

network.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Do you want to see yourself here? Click [here](https://github.com/NextCommunity/
6565
</a>
6666
</h4>
6767
<h5>{{ network.role }}</h5>
68-
<h6>{{ network.country}}, {{ network.location}}</h6>
68+
<h6>{{ network.country}}{% if network.country != blank and network.location != blank %}, {% endif %}{{ network.location}}</h6>
6969
</td>
7070
</tr>
7171
{% endfor %}

0 commit comments

Comments
 (0)