basspistol.com/discography.html
Set Hallstrom 5113069605 stash
2020-09-08 18:07:38 +02:00

68 lines
1.8 KiB
HTML

---
title: Discography
subtitle: Discog
description: 'Our collection of Creative Commons licensed releases. Open culture''s finest'
tags:
- discography
- releases
- music
- full-length
- albums
- EP
video_path: /assets/vid/discogs.mp4
image: /assets/vid/discogs.jpg
layout: default
---
{% include relBase.html %}
{% include header.html %}
{% assign sorted = site.albums | sort: 'date' | reverse %}
{% for album in sorted %}
{% for post in site.posts %}
{% if album.slug == post.album %}
<section class="front-section">
<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 />
<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> |
<span style="font-size: 14px">{{ track.common.genre }} </span>
</p>
{% endfor %}
</div>
<div>
<p><a class="button" href="{{ relBase }}{{ post.url }}">Read Highlight</a></p>
</div>
</div>
</div>
</section>
{% endif %}
{% endfor %}
{% endfor %}
{% include footer.html %}