summaryrefslogtreecommitdiff
path: root/templates/shortcodes/album_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes/album_list.html')
-rw-r--r--templates/shortcodes/album_list.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/shortcodes/album_list.html b/templates/shortcodes/album_list.html
index 521b4d1..74439ca 100644
--- a/templates/shortcodes/album_list.html
+++ b/templates/shortcodes/album_list.html
@@ -4,13 +4,13 @@
{{ macros::treeview(height="32rem") }}
{% for genre, albums in data.albums | group_by(attribute="genre") %}
-{{ macros::subtree(name=genre, open=true) }}
+{{ macros::subtree(name=genre, open=false) }}
{% for album in albums %}
{{ macros::treelink(text=album.artist ~ " - <i>" ~ album.name ~ `</i><br>
- <img class="album-thumb" src="/assets/music/` ~ album.cover ~ `"/>`,
+ <img class="album-thumb" src="https://coverartarchive.org/release-group/` ~ album.release_group ~ `/front"/>`,
url="https://musicbrainz.org/release-group/" ~ album.release_group, blank=true) }}
{% endfor %}
{{ macros::endsubtree() }}
{% endfor %}
-{{ macros::endtreeview() }} \ No newline at end of file
+{{ macros::endtreeview() }}