diff --git a/manifest.json b/manifest.json index cd9404f..00f3c77 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Mixcloud Tracklist", - "version": "2.0.0", + "version": "2.0.1", "manifest_version": 2, "description": "Display the tracklist on Mixcloud Cloudcasts", "homepage_url": "https://github.com/adlawson/mixcloud-tracklist", diff --git a/templates/tracklist.html b/templates/tracklist.html index d595570..0694113 100644 --- a/templates/tracklist.html +++ b/templates/tracklist.html @@ -28,14 +28,23 @@ {% for section in sections %}
-
- {{ section.track_number }}. - {{ section.title }} -
- + {% if section.chapter %} +
+ {{ section.track_number }}. + {{ section.chapter }} +
+ {% else %} +
+ {{ section.track_number }}. + {{ section.title }} +
+ {% endif %} + {% if section.artist %} + + {% endif %}