diff options
author | cel 🌸 <cel@blos.sm> | 2023-01-16 05:18:41 +0000 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-01-16 05:18:41 +0000 |
commit | 859f9fe9f8225e7bc3dcf769d3704ce3614db6bf (patch) | |
tree | ac72f7a62862bae02669784a33c12980826b10d1 /templates | |
parent | 3ac85babe9158c9557289c06cc78710384069177 (diff) | |
download | blossom-859f9fe9f8225e7bc3dcf769d3704ce3614db6bf.tar.gz blossom-859f9fe9f8225e7bc3dcf769d3704ce3614db6bf.tar.bz2 blossom-859f9fe9f8225e7bc3dcf769d3704ce3614db6bf.zip |
make listenbrainz widget
Diffstat (limited to 'templates')
-rw-r--r-- | templates/home.html.tera | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/home.html.tera b/templates/home.html.tera index 7ffd4aa..3396894 100644 --- a/templates/home.html.tera +++ b/templates/home.html.tera @@ -20,8 +20,8 @@ </iframe> {% endif %} -{% if is_scrobbling %} -<a href="https://listenbrainz.org/user/celblossom" class="panel" id="scrobble">now playing: Parfum d'étoiles - Ichiko Aoba</a> +{% if listenbrainz.is_scrobbling %} +<a href="https://listenbrainz.org/user/celblossom" class="panel" id="scrobble">now playing: {{ listenbrainz.song }} - {{ listenbrainz.artist }}</a> {% endif %} {% endblock header %} |