2020-12-25 21:49:59 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="es">
|
2020-12-25 22:15:36 +01:00
|
|
|
<head>
|
|
|
|
{% include "head.html" with path="." only %}
|
|
|
|
<link rel="stylesheet" type="text/css" href="index.css"/>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{% include "header.html" with path="." %}
|
|
|
|
<main>
|
|
|
|
<h2>Índice</h2>
|
|
|
|
<ul class="songs">
|
|
|
|
{% for category in sorted_categories %}
|
|
|
|
<a href="#{{ category|slugify }}">
|
|
|
|
<li>{{ category|title }}</li>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2023-09-08 00:37:10 +02:00
|
|
|
<p><strong>Leyenda</strong>: <img src="music.svg" class="music-icon"> tiene música grabada; <img src="guitar.svg" class="guitar-icon"> tiene acordes.</p>
|
2020-12-25 22:15:36 +01:00
|
|
|
<ol class="songs">
|
|
|
|
{% for category, songs in sorted_categories.items %}
|
|
|
|
<h3 id="{{ category|slugify }}">{{ category|title }}</h3>
|
|
|
|
{% for song in songs %}
|
|
|
|
<a href="{{ song.url }}">
|
2023-09-08 00:37:10 +02:00
|
|
|
<li>
|
2020-12-25 22:15:36 +01:00
|
|
|
<span class="number">{{ song.number }}.</span>
|
2023-09-08 00:37:10 +02:00
|
|
|
<span class="name">
|
|
|
|
{{ song.name }}
|
|
|
|
{% if song.author %} por {{ song.author }} {% endif %}
|
|
|
|
{% if song.origin %} basada en {{ song.origin }} {% endif %}
|
|
|
|
</span>
|
|
|
|
{% if song.has_audios %}
|
|
|
|
<img src="music.svg" class="music-icon filter-green">
|
|
|
|
{% endif %}
|
|
|
|
{% if song.chorded %}
|
|
|
|
<img src="guitar.svg" class="guitar-icon filter-green">
|
|
|
|
{% endif %}
|
2020-12-25 22:15:36 +01:00
|
|
|
</li>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
</ol>
|
|
|
|
</main>
|
|
|
|
{% include "footer.html" %}
|
|
|
|
</body>
|
2023-09-08 00:37:10 +02:00
|
|
|
</html>
|