Skip to content

Commit

Permalink
Fix comma bug with locations
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed May 22, 2024
1 parent d6f2e6b commit b74bf05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion _layouts/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ title: Network Profile
<span class="subtitle">{{ page.email }}</span>
</a>
<br>
<span class="subtitle">{{ page.country }}, {{ page.location }}</span>
<span class="subtitle">
{{ page.country }}{% if page.country != blank and page.location != blank %}, {% endif %}{{ page.location }}
</span>

<table width="100%" border="0">
<tr>
Expand Down
3 changes: 2 additions & 1 deletion network.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ Do you want to see yourself here? Click [here](https://github.com/NextCommunity/
</a>
</h4>
<h5>{{ network.role }}</h5>
<h6>{{ network.country}}, {{ network.location}}</h6>
<h6>{{ network.country}}{% if network.country != blank and network.location != blank %}, {% endif %}{{ network.location}}
</h6>
</td>
</tr>
{% endfor %}
Expand Down

0 comments on commit b74bf05

Please sign in to comment.