setto.basspistol.com/index.html

83 lines
2.2 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-09-11 19:18:44 +02:00
video_path: /videos/pingu.mp4
2020-08-03 21:40:11 +02:00
---
{% include relBase.html %}
2020-09-11 19:02:26 +02:00
<header class="hero" id="top"
style="{% unless page.video_path %}background-image: url({{ page.image }});{% endunless %}">
<div class="imagecontainer">
<h4>{{ page.title }}</h4>
</div>
</header>
<section class="splash">
<div class="container">
<div class="splash-logo">
<img src="{{ site.icon }}" width="240px" alt="{{ site.title }} Logo" />
</div>
<div>
<h1>{{ site.title }}</h1>
<p>{{ page.description }}</p>
</div>
</div>
</section>
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-09-11 19:02:26 +02:00
2020-08-03 21:40:11 +02:00
<section class="releases">
2020-09-11 19:02:26 +02:00
<h2>Releases</h2>
<div class="container">
2020-08-03 21:40:11 +02:00
{% assign sorted = site.albums | sort: 'date' | reverse %}
{% for album in sorted %}
{% for post in site.posts %}
{% if album.slug == post.album %}
2020-09-11 19:02:26 +02:00
2020-08-03 21:40:11 +02:00
<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 %}
{% endfor %}
{% endfor %}
2020-09-11 19:02:26 +02:00
</div>
</section>