82 lines
2.7 KiB
HTML
82 lines
2.7 KiB
HTML
---
|
|
title: Yo, web-TV crib! ゲットー・スービド
|
|
description: >-
|
|
The music of To Setto Setto is a cypher cloud jam
|
|
induced by popcorn chewing threads in obscure chat-rooms.
|
|
image: /images/pages/pingu.jpg
|
|
---
|
|
{% include relBase.html %}
|
|
{% include header.html %}
|
|
{% for post in site.posts limit: 1 %}
|
|
|
|
<section class="news">
|
|
<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>
|
|
|
|
|
|
</section>
|
|
{% endfor %}
|
|
<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 }}">
|
|
<img src="{{ site.mediaurl }}/{{ album.tracks[0].slug }}.jpeg" alt="Cover art for {{ post.title }}" /></a>
|
|
<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 }}">
|
|
<img src="{{ site.mediaurl }}/{{ track.tracks[0].slug }}.jpeg" alt="Cover art for {{ post.title }}" /></a>
|
|
<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> |