Set tab title to current song
This commit is contained in:
parent
21387e0834
commit
4dc3368da9
1 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,12 @@
|
||||||
{# #}
|
{# #}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
<script>
|
||||||
|
{% if let Some(name) = name %}
|
||||||
|
document.title = "{{ name }} - Empede";
|
||||||
|
{% else %}
|
||||||
|
document.title = "Empede";
|
||||||
|
{% endif %}
|
||||||
|
</script>
|
||||||
<div class="nowplaying">
|
<div class="nowplaying">
|
||||||
<div class="current">
|
<div class="current">
|
||||||
{% if let Some(song) = song %}
|
{% if let Some(song) = song %}
|
||||||
|
|
Loading…
Reference in a new issue