Add <main> tag

This commit is contained in:
Carlos Galindo 2020-12-25 22:15:36 +01:00
parent 3eaed2eaa8
commit fb3130b12b
2 changed files with 145 additions and 141 deletions

View file

@ -6,6 +6,7 @@
</head> </head>
<body> <body>
{% include "header.html" with path="." %} {% include "header.html" with path="." %}
<main>
<h2>Índice</h2> <h2>Índice</h2>
<ul class="songs"> <ul class="songs">
{% for category in sorted_categories %} {% for category in sorted_categories %}
@ -30,6 +31,7 @@
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
</ol> </ol>
</main>
{% include "footer.html" %} {% include "footer.html" %}
</body> </body>
</html> </html>

View file

@ -8,6 +8,7 @@
</head> </head>
<body> <body>
{% include "header.html" with path=".." %} {% include "header.html" with path=".." %}
<main>
<div class="song"> <div class="song">
<h2>{{ song.name}}</h2> <h2>{{ song.name}}</h2>
<a href="../#{{ song.category|slugify }}"><span>Categoría: {{ song.category|title }}</span></a> <a href="../#{{ song.category|slugify }}"><span>Categoría: {{ song.category|title }}</span></a>
@ -107,6 +108,7 @@
<a href="../"><span>Índice</span></a> <a href="../"><span>Índice</span></a>
<a href="../#{{ song.category|slugify }}"><span>Categoría: {{ song.category|title }}</span></a> <a href="../#{{ song.category|slugify }}"><span>Categoría: {{ song.category|title }}</span></a>
</div> </div>
</main>
{% include "footer.html" %} {% include "footer.html" %}
</body> </body>
</html> </html>