setto.basspistol.com/index.html

82 lines
2.7 KiB
HTML
Raw Normal View History

2020-08-03 21:40:11 +02:00
---
2020-08-04 12:07:59 +02:00
title: Yo, web-TV crib! ゲットー・スービド
2020-08-03 21:40:11 +02:00
description: >-
The music of To Setto Setto is a cypher cloud jam
2020-08-04 12:07:59 +02:00
induced by popcorn chewing threads in obscure chat-rooms.
2020-08-05 11:18:38 +02:00
image: /images/pages/pingu.jpg
2020-08-03 21:40:11 +02:00
---
{% include relBase.html %}
{% include header.html %}
2020-08-04 12:07:59 +02:00
{% for post in site.posts limit: 1 %}
2020-08-04 10:48:11 +02:00
<section class="news">
2020-08-04 12:07:59 +02:00
<h2>Latest News</h2>
<div style="background-image:url({{ relBase }}{{ post.image }}"></div>
<div class="description">
<h2>{{ post.title }}</h2>
<p><strong>{% include forloop-dates.html %}</strong></p>
<p>{{ post.description }}</p>
<p><a href="{{ relBase }}{{ post.url }}" class="button">Read post</a></p>
</div>
2020-08-04 10:48:11 +02:00
</section>
2020-08-04 12:07:59 +02:00
{% endfor %}
2020-08-03 21:40:11 +02:00
<section class="releases">
<h2>EPs and LPs</h2>
{% assign sorted = site.albums | sort: 'date' | reverse %}
{% for album in sorted %}
{% for post in site.posts %}
{% if album.slug == post.album %}
{% if post.tags contains 'EP' or post.tags contains 'LP' %}
<article>
<figure>
<a href="{{ post.url }}">
2020-08-05 15:54:25 +02:00
<img src="{{ site.mediaurl }}/{{ album.tracks[0].slug }}.jpeg" alt="Cover art for {{ post.title }}" /></a>
2020-08-03 21:40:11 +02:00
<figcaption>
<strong>{{ album.name }}</strong><br />
{% assign total = 0 %}
{% for track in album.tracks %}
{% assign total = total | plus: track.format.duration %}
{% endfor %}
{% assign round_seconds = total | 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 }}
<br />
{{ album.date | date: '%Y' }}
</figcaption>
</figure>
</article>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
</section>
<section class="releases">
<h2>Singles</h2>
{% for track in sorted %}
{% for post in site.posts %}
{% if track.slug == post.album %}
{% if post.tags contains 'single' %}
<article>
<figure>
<a href="{{ post.url }}">
2020-08-05 15:54:25 +02:00
<img src="{{ site.mediaurl }}/{{ track.tracks[0].slug }}.jpeg" alt="Cover art for {{ post.title }}" /></a>
2020-08-03 21:40:11 +02:00
<figcaption>
<strong>{{ track.tracks[0].common.title }}</strong><br />
{% assign round_seconds = track.tracks[0].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 }} |
{{ track.tracks[0].common.genre }}
</figcaption>
</figure>
</article>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
</section>