setto.basspistol.com/index.html

194 lines
5 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>
2020-12-25 21:18:56 +01:00
{% for post in site.posts %}
2020-12-25 04:47:21 +01:00
{% if post.category == 'releases' %}
2020-12-25 21:18:56 +01:00
<section id="read" class="front-section">
2020-08-04 12:07:59 +02:00
2020-12-25 21:18:56 +01:00
<div style="background-image:url({{ post.image }})">
<p class="editor-link"><a href="cloudcannon:collections/_posts/{{ post.path }}" rel="nofollow"
class="btn"><strong>&#9998;</strong> Edit Post</a></p>
</div>
<div class="description">
<div class="container">
<h2>{{ post.title }}</h2>
<p><strong>{% for tag in post.tags %}{{ tag }}{% endfor %} released {% include forloop-dates.html %}</strong></p>
<p>{{ post.description }}</p>
<p><a href="{{ relBase }}{{ post.url }}" class="button">🔊 Listen</a></p>
2020-12-25 12:38:04 +01:00
2020-12-25 21:18:56 +01:00
</div>
2020-09-11 19:22:14 +02:00
</div>
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 17:34:40 +01:00
<section id="pleroma">
2020-12-25 20:28:53 +01:00
<h2>Fediverse</h2>
2020-12-25 17:34:40 +01:00
<div class="container">
2020-12-25 16:42:47 +01:00
{% assign nasa = site.data.pleroma.feed.entry | sort: 'published' | reverse %}
{% for item in nasa %}
{% unless item.in_reply_to %}
2020-12-25 17:34:40 +01:00
<div>
2020-12-25 16:42:47 +01:00
{% if item.summary %}
<h2 style="text-align: left;">{{ item.summary }}</h2>
{% endif %}
2020-12-25 20:07:09 +01:00
<p>
{{ item.content }}
</p>
2020-12-25 20:28:53 +01:00
2020-12-25 16:42:47 +01:00
{% for enclosure in item.link %}
{% if enclosure.type == "image/jpeg" %}
2020-12-25 21:18:56 +01:00
<a href="{{ item.id }}" target="_blank" rel="noopener"><img src="{{ enclosure.href }}" /></a>
2020-12-25 16:42:47 +01:00
{% endif %}
{% endfor %}
2020-12-30 23:48:32 +01:00
<p><br /></p>
2020-12-25 20:07:09 +01:00
<hr />
2020-12-25 20:28:53 +01:00
<p class="date">
2020-12-25 21:18:56 +01:00
2020-12-25 20:28:53 +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-30 23:48:32 +01:00
</p>
<p class="date">
2021-01-03 16:01:58 +01:00
<a href="{{ item.id }}" target="_blank" rel="noopener" class="button">See thread</a>
2020-12-25 20:28:53 +01:00
</p>
2020-12-25 21:18:56 +01:00
2020-12-25 17:34:40 +01:00
</div>
2020-12-25 16:42:47 +01:00
{% endunless %}
2021-01-03 16:01:58 +01:00
{% endfor %}
2020-12-25 17:34:40 +01:00
</div>
2020-12-25 16:42:47 +01:00
</section>