Set tab title to current song

This commit is contained in:
Sijmen 2023-04-27 04:43:00 +02:00
parent 21387e0834
commit 4dc3368da9
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
1 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,12 @@
{# #}
<!DOCTYPE html>
<script>
{% if let Some(name) = name %}
document.title = "{{ name }} - Empede";
{% else %}
document.title = "Empede";
{% endif %}
</script>
<div class="nowplaying">
<div class="current">
{% if let Some(song) = song %}