setto.basspistol.com/index.html

177 lines
4.6 KiB
HTML
Raw Normal View History

2020-08-03 21:40:11 +02:00
---
2020-11-30 10:54:56 +01:00
title: 'Yo, web-TV crib! ゲットー・スービド'
2020-08-03 21:40:11 +02:00
description: >-
2020-11-30 10:54:56 +01:00
The music of To Setto Setto is a cypher cloud jam induced by popcorn chewing
threads in obscure chat-rooms.
2020-11-30 11:03:55 +01:00
image: /images/pages/background-setto-v2-blus.svg
2020-11-30 10:59:22 +01:00
video_path:
2020-12-14 20:39:45 +01:00
apps:
- name: Support
2020-12-14 20:45:28 +01:00
link: '#support'
2020-12-14 20:39:45 +01:00
icon: 🌮
external: false
- name: Video
2020-12-14 20:45:28 +01:00
link: https://v.basspistol.org/video-channels/tosettosetto/
2020-12-25 04:47:21 +01:00
icon: 📹
2020-12-14 20:39:45 +01:00
external: true
2020-12-25 04:47:21 +01:00
- name: Support🎶
2020-12-14 20:45:28 +01:00
link: https://t.basspistol.org/setto/
2020-12-25 04:47:21 +01:00
icon: 📰
2020-12-14 20:39:45 +01:00
external: true
2020-12-25 04:47:21 +01:00
- name: Chat
2020-12-14 20:45:28 +01:00
link: '/chat/#read'
2020-12-25 04:47:21 +01:00
icon: 📡
external: false
- name: Matrix
link: https://matrix.to/#/@sakrecoer:basspistol.org
icon: 🕸
external: true
- name: Links
link: /links/
icon: 🔗
external: false
- name: Music
link: '#read'
icon: 🎶
2020-12-14 20:39:45 +01:00
external: false
2020-08-03 21:40:11 +02:00
---
2020-11-30 10:54:56 +01:00
2020-12-15 14:09:24 +01:00
<script type="text/javascript">
function generateRandomPosts()
{
$.getJSON("/posts.json", function(data) {
console.log("[posts.json loaded for random posts]");
var postsCount = data.length;
var posts = data;
var randomIndexUsed = [];
var counter = 0;
var numberOfPosts = 1;
var divRandomPosts = $("#random_posts");
while (counter < numberOfPosts)
{
var randomIndex = Math.floor(Math.random() * postsCount);
if (randomIndexUsed.indexOf(randomIndex) == "-1")
{
var postHREF = posts[randomIndex].href;
var postTitle = posts[randomIndex].title;
if (counter == (numberOfPosts - 1))
{
divRandomPosts.append('<a class="button" href="' + postHREF + '">🔥</a>');
}
else
{
divRandomPosts.append('<a class="button" href="' + postHREF + '">🔥</a>');
}
randomIndexUsed.push(randomIndex);
counter++;
}
}
});
}
$(document).ready(function() {
generateRandomPosts();
});
</script>
2020-08-03 21:40:11 +02:00
{% include relBase.html %}
2020-09-11 19:02:26 +02:00
<header class="hero" id="top"
2020-09-18 11:52:21 +02:00
style="background-image: url({{ page.image }});">
2020-09-11 19:02:26 +02:00
<div class="imagecontainer">
<h4>{{ page.title }}</h4>
</div>
2020-09-18 11:52:21 +02:00
<div class="splash">
2020-09-18 11:15:11 +02:00
<div class="splash-logo">
2020-09-18 13:18:16 +02:00
<a href="#read"><img src="{{ site.icon }}" width="240px" alt="{{ site.title }} Logo" /></a>
2020-09-18 11:15:11 +02:00
</div>
<div class="description">
<h1>{{ site.title }}</h1>
<p>{{ page.description }}</p>
2020-12-25 04:47:21 +01:00
<ul>{% for app in site.data.navigation %}
<li><a href="{{ app.url }}" {% if app.external_site == true %}rel="noopener" target="_blank"{% endif %} class="button">{{ app.icon }}</a></li>
2020-12-14 20:39:45 +01:00
{% endfor %}
2020-12-15 14:09:24 +01:00
<li id="random_posts"></li>
2020-12-14 20:18:16 +01:00
</ul>
2020-09-18 11:15:11 +02:00
</div>
</div>
2020-09-18 11:52:21 +02:00
2020-09-11 19:02:26 +02:00
</header>
2020-12-25 04:47:21 +01:00
<section id="read">
2020-09-11 19:02:26 +02:00
2020-12-25 04:47:21 +01:00
</section>
{% assign sorted = site.posts | sort: 'date' | reverse %}
{% for post in sorted %}
{% if post.category == 'releases' %}
<section class="news" style="margin:0;">
2020-08-04 12:07:59 +02:00
2020-12-25 04:47:21 +01:00
<div style="background-image:url({{ relBase }}{{ post.image }}"></div>
<div class="description">
<div class="container">
<h2>{{ post.title }}</h2>
2020-12-25 12:38:04 +01:00
<p><strong>{% for tag in post.tags %}{{ tag }}{% endfor %} released {% include forloop-dates.html %}</strong></p>
2020-12-25 04:47:21 +01:00
<p>{{ post.description }}</p>
2020-12-25 12:38:04 +01:00
<p><a href="{{ relBase }}{{ post.url }}" class="button">🔊 Listen</a></p>
2020-09-11 19:22:14 +02:00
</div>
2020-12-25 04:47:21 +01:00
</div>
2020-09-11 19:22:14 +02:00
2020-12-25 04:47:21 +01:00
2020-08-04 10:48:11 +02:00
</section>
2020-09-11 19:22:14 +02:00
{% endif %}
2020-08-04 12:07:59 +02:00
{% endfor %}
2020-09-11 19:02:26 +02:00
2020-12-25 16:42:47 +01:00
<section>
{% assign nasa = site.data.pleroma.feed.entry | sort: 'published' | reverse %}
{% for item in nasa %}
{% unless item.in_reply_to %}
{% if item.summary %}
<h2 style="text-align: left;">{{ item.summary }}</h2>
{% endif %}
2020-12-25 17:23:00 +01:00
<p>
2020-12-25 16:42:47 +01:00
{% assign d = item.published | date: "%-d" %}
{% case d %}
{% when '1' or '21' or '31' %}{{ d }}:st
{% when '2' or '22' %}{{ d }}:nd
{% when '3' or '23' %}{{ d }}:rd
{% else %}{{ d }}:th
{% endcase %} of
{% assign m = item.published | date: "%-m" %}
{% case m %}
{% when '1' %}January
{% when '2' %}February
{% when '3' %}March
{% when '4' %}April
{% when '5' %}May
{% when '6' %}June
{% when '7' %}July
{% when '8' %}August
{% when '9' %}September {% when '10' %}October {% when '11' %}November {% when '12' %}December
{% endcase %}
{{ item.published | date: "%Y" }} - {{ item.published | date: "%R" }}
2020-12-25 17:23:00 +01:00
</p>
<p>
{{ item.content }}
</p>
2020-12-25 16:42:47 +01:00
{% for enclosure in item.link %}
{% if enclosure.type == "image/jpeg" %}
<img src="{{ enclosure.href }}" height="300px" />
{% endif %}
{% endfor %}
<hr />
{% endunless %}
{% endfor %}
</section>