fix commas

This commit is contained in:
pacnpal
2024-11-03 20:21:39 +00:00
parent d3a69072d2
commit d4b08bbaed
21 changed files with 390 additions and 98 deletions

View File

@@ -19,11 +19,10 @@
{% if park.city or park.state or park.country %}
<p class="mb-3 text-gray-600 dark:text-gray-400">
<i class="mr-1 fas fa-map-marker-alt"></i>
{% if park.city %}{{ park.city }}{% endif %}
{% if park.city and park.state %}, {% endif %}
{% if park.state %}{{ park.state }}{% endif %}
{% if park.country and park.state or park.city %}, {% endif %}
{% if park.country %}{{ park.country }}{% endif %}
{% spaceless %}
{% if park.city %}{{ park.city }}{% endif %}{% if park.city and park.state %}, {% endif %}{% if park.state %}{{ park.state }}{% endif %}{% if park.country and park.state or park.city %}, {% endif %}{% if park.country %}{{ park.country }}{% endif %}
</p>
{% endspaceless %}
</p>
{% endif %}
<div class="flex flex-wrap gap-2">