Use None in place of "Bristol" for home

Also fix some more location bugs.
This commit is contained in:
Edward Betts 2025-07-16 07:55:20 +02:00
parent eb65f720bf
commit 02350ef4db
3 changed files with 60 additions and 46 deletions

View file

@ -47,9 +47,7 @@
</td>
{% if extra_class %}<td class="{{ extra_class|trim }}">{% else %}<td>{% endif %}
{% set city, country = weekend[day + '_location'] %}
{% if city == "Bristol" and country.alpha_2 | upper == "GB" %}
{# <strong>home</strong> #}
{% else %}
{% if city %}
{{ city }}, {{ country.flag }} {{ country.name }}
{% endif %}
</td>