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">
|
<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 }}/">{{ 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>
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
<div class="songs">
|
<div class="songs">
|
||||||
{% for song in songs %}
|
{% for song in songs %}
|
||||||
<figure>
|
<figure>
|
||||||
<figcaption><a href="{{ song.path|url }}">{{ song.name }}</a></figcaption>
|
<figcaption><a href="{{ song.path|url }}/">{{ song.name }}</a></figcaption>
|
||||||
{% if song.thumbnail %}
|
{% 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 %}
|
{% endif %}
|
||||||
</figure>
|
</figure>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Reference in New Issue