-
Notifications
You must be signed in to change notification settings - Fork 0
/
discography.html
48 lines (41 loc) · 1.17 KB
/
discography.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
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" id="read">
<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>✎</strong> Edit Posy</a></p>
</div>
<div class="description">
<div class="container">
<div>
<h2>{{ album.title }} ({{ album.date | date: '%Y' }})</h2>
<h3>by {{ album.artists }} </h3>
</div>
<div>
<p><a class="button" href="{{ relBase }}{{ post.url }}">🔊 play this release</a></p>
</div>
</div>
</div>
</section>
{% endif %}
{% endfor %}
{% endfor %}