basspistol.com/discography.html

65 lines
1.8 KiB
HTML
Raw Normal View History

2019-04-01 23:16:35 +02:00
---
title: Discography
subtitle: Discog
description: 'Our collection of Creative Commons licensed releases. Open culture''s finest'
2020-07-11 09:07:24 +02:00
tags:
- discography
- releases
- music
- full-length
- albums
- EP
2019-04-02 00:28:32 +02:00
video_path: /assets/vid/discogs.mp4
2020-07-09 10:15:00 +02:00
image: /assets/vid/discogs.jpg
2020-09-08 18:07:38 +02:00
layout: default
2019-04-01 23:16:35 +02:00
---
2020-09-08 18:07:38 +02:00
{% include relBase.html %}
{% include header.html %}
2020-07-09 10:15:00 +02:00
{% assign sorted = site.albums | sort: 'date' | reverse %}
2019-04-01 23:16:35 +02:00
{% for album in sorted %}
2020-09-08 18:07:38 +02:00
{% for post in site.posts %}
{% if album.slug == post.album %}
2020-07-09 10:15:00 +02:00
2020-09-08 18:07:38 +02:00
<section class="front-section">
2020-07-09 10:15:00 +02:00
2020-09-08 18:07:38 +02:00
<div style="background-image:url({{ site.mediaurl }}/{{ album.tracks[0].slug }}.jpeg)">
<p class="editor-link"><a href="cloudcannon:collections/_albums/{{ post.path }}" rel="nofollow"
class="btn"><strong>&#9998;</strong> Edit Posy</a></p>
</div>
<div class="description">
<div class="container">
<div>
<h2>{{ album.title }}</h2>
<p>{{ album.date | date: '%Y' }}</p>
{% for track in album.tracks %}
<p style="margin-bottom: 30px;font-size: 14px">
<strong>{{ track.common.track.no }}. {{ track.common.title }}</strong><br />
2020-09-10 10:09:13 +02:00
<span>{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{% assign seconds_without_zero = round_seconds | minus: leftover_seconds %}{% if seconds_without_zero < 10 %}0{% endif %}{{ seconds_without_zero }}</span>
{% if track.common.genre %} | <span style="font-size: 14px">{{ track.common.genre }} </span>{% endif %}
2020-09-08 18:07:38 +02:00
</p>
2020-07-09 10:15:00 +02:00
2020-09-08 18:07:38 +02:00
{% endfor %}
</div>
<div>
2020-09-11 11:22:50 +02:00
<p><a class="button" href="{{ relBase }}{{ post.url }}">🔊 play this release</a></p>
2020-09-08 18:07:38 +02:00
</div>
</div>
2020-07-09 10:15:00 +02:00
</div>
</section>
2020-09-08 18:07:38 +02:00
{% endif %}
{% endfor %}
2020-07-09 10:15:00 +02:00
2019-04-01 23:16:35 +02:00
{% endfor %}
2020-07-09 10:15:00 +02:00