fix: refs

This commit is contained in:
Cory Dransfeldt 2024-10-07 13:29:27 -07:00
parent 2da4393de3
commit 4ee9ccccf8
No known key found for this signature in database

View file

@ -76,11 +76,11 @@ schema: artist
<ul> <ul>
{% for concert in artist.concerts %} {% for concert in artist.concerts %}
{%- capture venue -%} {%- capture venue -%}
{% if concert.venue %} {% if concert.venue_name %}
{% if concert.venue_latitude and concert.venue_longitude %} {% if concert.venue_latitude and concert.venue_longitude %}
<a href="https://www.openstreetmap.org/?mlat={{ concert.venue_latitude }}&mlon={{ concert.venue_longitude }}#map=18/{{ concert.venue_latitude }}/{{ concert.venue_longitude }}">{{ concert.venue | formatVenue }}</a> <a href="https://www.openstreetmap.org/?mlat={{ concert.venue_latitude }}&mlon={{ concert.venue_longitude }}#map=18/{{ concert.venue_latitude }}/{{ concert.venue_longitude }}">{{ concert.venue_name | formatVenue }}</a>
{% else %} {% else %}
{{ concert.venue | formatVenue }} {{ concert.venue_name | formatVenue }}
{% endif %} {% endif %}
{% endif %} {% endif %}
{%- endcapture -%} {%- endcapture -%}