{% load static %}

Top Artist

{% for key, artists in current_artist_charts.items %}
#1 {{artists.0.name}}
{% if artists.0 %} {% if artists.0.thumbnail %} {% else %} {% endif %} {% endif %}
#2 {{artists.1.name}}
{% if artists.1 %} {% if artists.1.thumbnail %} {% else %} {% endif %} {% endif %}
#3 {{artists.2.name}}
{% if artists.2 %} {% if artists.2.thumbnail %} {% else %} {% endif %} {% endif %}
#4 {{artists.3.name}}
{% if artists.3 %} {% if artists.3.thumbnail %} {% else %} {% endif %} {% endif %}
#5 {{artists.4.name}}
{% if artists.4 %} {% if artists.4.thumbnail %} {% else %} {% endif %} {% endif %}
#6 {{artists.5.name}}
{% if artists.5 %} {% if artists.5.thumbnail %} {% else %} {% endif %} {% endif %}
#7 {{artists.6.name}}
{% if artists.6 %} {% if artists.6.thumbnail %} {% else %} {% endif %} {% endif %}
#8 {{artists.7.name}}
{% if artists.7 %} {% if artists.7.thumbnail %} {% else %} {% endif %} {% endif %}
#9 {{artists.8.name}}
{% if artists.8 %} {% if artists.8.thumbnail %} {% else %} {% endif %} {% endif %}
#10 {{artists.9.name}}
{% if artists.9 %} {% if artists.9.thumbnail %} {% else %} {% endif %} {% endif %}
#11 {{artists.10.name}}
{% if artists.10 %} {% if artists.10.thumbnail %} {% else %} {% endif %} {% endif %}
#12 {{artists.11.name}}
{% if artists.11 %} {% if artists.11.thumbnail %} {% else %} {% endif %} {% endif %}
#13 {{artists.12.name}}
{% if artists.12 %} {% if artists.12.thumbnail %} {% else %} {% endif %} {% endif %}
#14 {{artists.13.name}}
{% if artists.13 %} {% if artists.13.thumbnail %} {% else %} {% endif %} {% endif %}
{% endfor %}

Top Tracks

{% for chart_name, tracks in current_track_charts.items %}
#1 {{tracks.0.title}}
{% if tracks.0 %} {% if tracks.0.album.cover_image %} {% else %} {% endif %} {% endif %}
#2 {{tracks.1.title}}
{% if tracks.1 %} {% if tracks.1.album.cover_image %} {% else %} {% endif %} {% endif %}
#3 {{tracks.2.title}}
{% if tracks.2 %} {% if tracks.2.album.cover_image %} {% else %} {% endif %} {% endif %}
#4 {{tracks.3.title}}
{% if tracks.3 %} {% if tracks.3.album.cover_image %} {% else %} {% endif %} {% endif %}
#5 {{tracks.4.title}}
{% if tracks.4 %} {% if tracks.4.album.cover_image %} {% else %} {% endif %} {% endif %}
#6 {{tracks.5.title}}
{% if tracks.5 %} {% if tracks.5.album.cover_image %} {% else %} {% endif %} {% endif %}
#7 {{tracks.6.title}}
{% if tracks.6 %} {% if tracks.6.album.cover_image %} {% else %} {% endif %} {% endif %}
#8 {{tracks.7.title}}
{% if tracks.7 %} {% if tracks.7.album.cover_image %} {% else %} {% endif %} {% endif %}
#9 {{tracks.8.title}}
{% if tracks.8 %} {% if tracks.8.album.cover_image %} {% else %} {% endif %} {% endif %}
#10 {{tracks.9.title}}
{% if tracks.9 %} {% if tracks.9.album.cover_image %} {% else %} {% endif %} {% endif %}
#11 {{tracks.10.title}}
{% if tracks.10 %} {% if tracks.10.album.cover_image %} {% else %} {% endif %} {% endif %}
#12 {{tracks.11.title}}
{% if tracks.11 %} {% if tracks.11.album.cover_image %} {% else %} {% endif %} {% endif %}
#13 {{tracks.12.title}}
{% if tracks.12 %} {% if tracks.12.album.cover_image %} {% else %} {% endif %} {% endif %}
#14 {{tracks.13.title}}
{% if tracks.13 %} {% if tracks.13.album.cover_image %} {% else %} {% endif %} {% endif %}
{% endfor %}