{% if data.trails %}

🥾 While on Trails

{% for trail in data.trails %}
{% if trail.uuid %} {{ trail.name }} {% else %} {{ trail.name }} {% endif %} ({{ trail.total_sessions }} sessions)
{% if trail.tracks %} {% for t in trail.tracks %} {% endfor %}
Track Artist Plays
{% if t.track_uuid %}{{ t.track_name }}{% else %}{{ t.track_name }}{% endif %} {{ t.artist_name }} {{ t.count }}
{% endif %}
{% empty %}

No concurrent listening data for trails.

{% endfor %}
{% endif %} {% if data.locations %}

📍 While at Locations

{% for loc in data.locations %}
{% if loc.uuid %} {{ loc.name }} {% else %} {{ loc.name }} {% endif %} ({{ loc.total_sessions }} sessions)
{% if loc.tracks %} {% for t in loc.tracks %} {% endfor %}
Track Artist Plays
{% if t.track_uuid %}{{ t.track_name }}{% else %}{{ t.track_name }}{% endif %} {{ t.artist_name }} {{ t.count }}
{% endif %}
{% empty %}

No concurrent listening data for locations.

{% endfor %}
{% endif %}
{% if not data.trails and not data.locations %}

No concurrent listening data found.

{% endif %}