Corregir urls para que se vean bien en tor

This commit is contained in:
Ales (Shagi) Zabala Alava 2019-09-10 19:00:23 +02:00
parent 3f661919e0
commit 1a74816115
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
<nav id="menu">
<ul>
{% for item in songs %}
<li><a href="{{ item.path|url }}">{{ item.name }}</a></li>
<li><a href="{{ item.path|url }}/">{{ item.name }}</a></li>
{% endfor %}
</ul>
<p id="playlist"><a href="{{ root_path }}playlist/">Playlist</a></p>

View File

@ -3,9 +3,9 @@
<div class="songs">
{% for song in songs %}
<figure>
<figcaption><a href="{{ song.path|url }}">{{ song.name }}</a></figcaption>
<figcaption><a href="{{ song.path|url }}/">{{ song.name }}</a></figcaption>
{% if song.thumbnail %}
<a href="{{ song.path|url }}"><img src="{{ song.thumbnail|url }}" alt="{{ song.name }}"></a>
<a href="{{ song.path|url }}/"><img src="{{ song.thumbnail|url }}" alt="{{ song.name }}"></a>
{% endif %}
</figure>
{% endfor %}