mixtape/templates/index.html

41 lines
1.0 KiB
HTML
Raw Normal View History

2024-02-06 14:18:25 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{{ config.title }}{% endblock %}</title>
<link rel="stylesheet" href="{{ get_url(path="/style.css") }}">
<link rel="icon" href="favicon.svg">
</head>
<body>
2024-02-06 18:08:40 +01:00
{% block content %}
<main class="songs">
<section class="filters">
FILTERS
</section>
<section class="song-list">
2024-02-06 14:18:25 +01:00
{% for song in section.pages %}
2024-02-06 18:08:40 +01:00
<div>
<div class="meta">
<div class="title">{{ song.title }}</div>
{% if song.taxonomies["artist"] %}
<div class="artist">{{ song.taxonomies["artist"][0] }}</div>
{% endif %}
</div>
<div class="links">
<a href="{{ song.permalink }}">html</a>
{% for asset in song.assets %}
{% if asset is matching(song.slug~"[.](pdf)$") %}
<a href="{{ asset }}">pdf</a>
{% endif %}
{% endfor %}
</div>
</div>
2024-02-06 14:18:25 +01:00
{% endfor %}
2024-02-06 18:08:40 +01:00
</section>
</main>
{% endblock %}
{% block script %}{% endblock %}
2024-02-06 14:18:25 +01:00
</body>
</html>