negromate/web/templates/home.html

14 lines
366 B
HTML

{% extends "base.html" %}
{% block content %}
<div class="songs">
{% for song in songs %}
<figure>
<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>
{% endif %}
</figure>
{% endfor %}
</div>
{% endblock %}