Marcar las canciones con karaoke chulo en el listado

This commit is contained in:
Ales (Shagi) Zabala Alava 2022-07-28 18:09:15 +02:00
parent eca302fac0
commit ee9a8a6f98
2 changed files with 12 additions and 1 deletions

View File

@ -17,6 +17,10 @@ a {
text-decoration: none; text-decoration: none;
} }
abbr {
text-decoration: none;
}
header#header { header#header {
width:100%; width:100%;
display: inline-block; display: inline-block;

View File

@ -27,7 +27,14 @@
<nav id="menu"> <nav id="menu">
<ul> <ul>
{% for item in songs %} {% for item in songs %}
<li><a href="{{ item.path|url }}/">{{ item.name }}</a></li> <li>
<a href="{{ item.path|url }}/">
{% if item.metadata.karaoke %}
<abbr title="Enhanced Karaoke!">(#)</abbr>
{% endif %}
{{ item.name }}
</a>
</li>
{% endfor %} {% endfor %}
</ul> </ul>
<p id="playlist"><a href="{{ root_path }}/playlist/">Playlist</a></p> <p id="playlist"><a href="{{ root_path }}/playlist/">Playlist</a></p>