{% extends 'lastfm/base.html' %} {% block breadcrumbs %} {% endblock %} {% block content %} {% load ditto_core %}

{{ album.artist }}
{% block title %} {{ album.name }} {% endblock %}

{% if album.tracks|length == 0 %}

This album has no tracks.

{% else %} {% with album.tracks as track_list %}

This album has {% if track_list|length == 1 %}this track{% else %}these tracks{% endif %}:

{% include 'lastfm/includes/chart.html' with object_list=track_list chart_type='track' include_artist=False only %} {% endwith %} {% endif %}
{% include 'lastfm/includes/album_sidebar.html' with album=album perms=perms only %}
{% endblock content %}