basspistol.com/_layouts/album.html

41 lines
1.7 KiB
HTML
Raw Normal View History

2019-04-01 23:16:35 +02:00
---
---
<!DOCTYPE html>
<html>
<head>
2019-12-16 12:12:57 +01:00
{% include relBase.html %}
2019-04-01 23:16:35 +02:00
{% include releasemeta.html %}
2019-11-05 15:18:23 +01:00
{% include matomo.html %}
2019-04-01 23:16:35 +02:00
</head>
<body>
{% include navmenu.html %}
<div id="content">
<div id="headline"><h1>~/{{ page.name }} by {{ page.artists }} </h1></div>
2019-12-16 12:12:57 +01:00
<div id="linkhead" style="background-image:url('{{ relBase }}{{ page.cover }}');background-size:cover;background-position:center;"></div>
<div id="linkheadthumb" style="background-image:url('{{ relBase }}{{ page.cover }}');background-size:cover;background-position:center;"></div>
2019-04-01 23:16:35 +02:00
<div class="padded">
2020-02-21 21:10:33 +01:00
<h1>{{ page.title }}</h1>{% for track in page.tracks limit: 1 %}
<a href="{{ track.transformed["ID3v2.4"].WOAS }}" onclick="_paq.push(['trackEvent', 'albumDownload', '{{ page.title }}']);" target="_blank" rel="noopener">
<img src="{{ relBase }}/assets/img/cloud-download.svg" width="64px" height="64px" />
<h3>download album</h3>
</a>{% endfor %}
2019-04-01 23:16:35 +02:00
<p>Released on: <strong>{{ page.date | date: "%a, %b %d, %Y" }}</strong></p><br />
</div>
<div class="fitter">
{% for track in page.tracks %}
<div class="articles">
2019-12-16 12:12:57 +01:00
<a href="{{ relBase }}/tracks/{{ page.slug }}/{{ track.slug }}/">
<img class="recordthumbs_mini" src="{{ relBase }}{{ track.cover}}" title="{{ track.common.title }}" alt="{{ track.common.title }}" width="100px"/>
2019-04-01 23:16:35 +02:00
<br /><h3>{{ track.common.track.no }}. {{ track.common.title }}</h3>
</a>
{% if track.common.genre != null %}<p>Genre: <strong>{{ track.common.genre }}</strong></p>{% endif %}
<p>Duration: <strong>{{ track.format.duration | round }} sec</strong></p>
</div>
{% endfor %}
{% include footer.html %}
</div>
</div>
</body>
</html>