Corregir urls para que se vean bien en tor
This commit is contained in:
parent
3f661919e0
commit
1a74816115
|
@ -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>
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Reference in New Issue