--- 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 %}

{{ album.title }}

{{ album.date | date: '%Y' }}

{% for track in album.tracks %}

{{ track.common.track.no }}. {{ track.common.title }}
{% 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 }} {% if track.common.genre %} | {{ track.common.genre }} {% endif %}

{% endfor %}

Read Highlight

{% endif %} {% endfor %} {% endfor %}