ditch the pleroma
This commit is contained in:
parent
d30ce5a200
commit
a76ebe0478
|
@ -3,11 +3,11 @@
|
||||||
icon: 🌮
|
icon: 🌮
|
||||||
external: false
|
external: false
|
||||||
- icon: "\U0001F4BD"
|
- icon: "\U0001F4BD"
|
||||||
url: '/#read'
|
url: '/discography'
|
||||||
name: Music
|
name: Music
|
||||||
external_site: false
|
external_site: false
|
||||||
- icon: "\U0001F4F0"
|
- icon: "\U0001F4F0"
|
||||||
url: '/#pleroma'
|
url: '/log'
|
||||||
name: Blog
|
name: Blog
|
||||||
external_site: false
|
external_site: false
|
||||||
- icon: 📹
|
- icon: 📹
|
||||||
|
|
|
@ -10,7 +10,7 @@ image: /images/posts/1-ep-life-of-a-dudelini.jpeg
|
||||||
video_path:
|
video_path:
|
||||||
category: releases
|
category: releases
|
||||||
tags:
|
tags:
|
||||||
- Single
|
- Mixtape
|
||||||
link:
|
link:
|
||||||
url:
|
url:
|
||||||
buttontext:
|
buttontext:
|
||||||
|
|
|
@ -233,7 +233,7 @@ footer {
|
||||||
}
|
}
|
||||||
.icon {
|
.icon {
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
border: 1px solid var(--bg);
|
border: 1px solid var(--fg-alt);
|
||||||
}
|
}
|
||||||
.icon:hover {
|
.icon:hover {
|
||||||
border: 1px solid var(--accent2);
|
border: 1px solid var(--accent2);
|
||||||
|
|
130
index.html
130
index.html
|
@ -5,35 +5,6 @@ description: >-
|
||||||
threads in obscure chat-rooms.
|
threads in obscure chat-rooms.
|
||||||
image: /images/pages/background-setto-v2-blus.svg
|
image: /images/pages/background-setto-v2-blus.svg
|
||||||
video_path:
|
video_path:
|
||||||
apps:
|
|
||||||
- name: Support
|
|
||||||
link: '#support'
|
|
||||||
icon: 🌮
|
|
||||||
external: false
|
|
||||||
- name: Video
|
|
||||||
link: https://v.basspistol.org/video-channels/tosettosetto/
|
|
||||||
icon: 📹
|
|
||||||
external: true
|
|
||||||
- name: Support🎶
|
|
||||||
link: https://t.basspistol.org/setto/
|
|
||||||
icon: 📰
|
|
||||||
external: true
|
|
||||||
- name: Chat
|
|
||||||
link: '/chat/#read'
|
|
||||||
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: 🎶
|
|
||||||
external: false
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -109,12 +80,45 @@ apps:
|
||||||
|
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
<section id="read">
|
<section class="releases" id="read">
|
||||||
|
<h2>Releases</h2>
|
||||||
|
<div class="container">
|
||||||
|
{% assign sorted = site.posts | sort: 'date' | reverse %}
|
||||||
|
{% for post in sorted %}
|
||||||
|
{% for album in site.albums %}
|
||||||
|
|
||||||
|
{% if album.slug == post.album %}
|
||||||
|
|
||||||
|
<article>
|
||||||
|
<figure>
|
||||||
|
<a href="{{ post.url }}#play">
|
||||||
|
<img src="{{ site.mediaurl }}/{{ album.tracks[0].slug }}.jpeg" alt="Cover art for {{ post.title }}" /></a>
|
||||||
|
<figcaption>
|
||||||
|
<p><strong>{{ album.name }}</strong></p>
|
||||||
|
|
||||||
|
{% assign total = 0 %}
|
||||||
|
{% for track in album.tracks %}
|
||||||
|
{% assign total = total | plus: track.format.duration %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
|
||||||
|
<p>Duration: <strong>{% 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 }}</strong></p>
|
||||||
|
|
||||||
|
<p>{% for tag in post.tags %}{{ tag }}{% endfor %} released <time datetime="{{ post.date }}">{{ album.date | date: '%Y' }}</time></p>
|
||||||
|
</figcaption>
|
||||||
|
</figure>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
{% if post.category == 'releases' %}
|
{% if post.category == 'ramblings' %}
|
||||||
<section id="read" class="front-section">
|
<section id="news" class="front-section">
|
||||||
|
|
||||||
<div style="background-image:url({{ post.image }})">
|
<div style="background-image:url({{ post.image }})">
|
||||||
<p class="editor-link"><a href="cloudcannon:collections/_posts/{{ post.path }}" rel="nofollow"
|
<p class="editor-link"><a href="cloudcannon:collections/_posts/{{ post.path }}" rel="nofollow"
|
||||||
|
@ -124,7 +128,7 @@ apps:
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2>{{ post.title }}</h2>
|
<h2>{{ post.title }}</h2>
|
||||||
|
|
||||||
<p><strong>{% for tag in post.tags %}{{ tag }}{% endfor %} released {% include forloop-dates.html %}</strong></p>
|
<p><strong>Posted on <time datetime="{{ post.date }}">{% include forloop-dates.html %}</time></strong></p>
|
||||||
<p>{{ post.description }}</p>
|
<p>{{ post.description }}</p>
|
||||||
<p><a href="{{ relBase }}{{ post.url }}" class="button">🔊 Listen</a></p>
|
<p><a href="{{ relBase }}{{ post.url }}" class="button">🔊 Listen</a></p>
|
||||||
|
|
||||||
|
@ -133,62 +137,4 @@ apps:
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<section id="pleroma">
|
|
||||||
<h2>Fediverse</h2>
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
{% assign nasa = site.data.pleroma.feed.entry | sort: 'published' | reverse %}
|
|
||||||
{% for item in nasa %}
|
|
||||||
{% unless item.in_reply_to %}
|
|
||||||
<div>
|
|
||||||
{% if item.summary %}
|
|
||||||
<h2 style="text-align: left;">{{ item.summary }}</h2>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<p>
|
|
||||||
{{ item.content }}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
{% for enclosure in item.link %}
|
|
||||||
{% if enclosure.type == "image/jpeg" %}
|
|
||||||
<a href="{{ item.id }}" target="_blank" rel="noopener"><img src="{{ enclosure.href }}" /></a>
|
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
<p><br /></p>
|
|
||||||
<hr />
|
|
||||||
<p class="date">
|
|
||||||
|
|
||||||
{% 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" }}
|
|
||||||
</p>
|
|
||||||
<p class="date">
|
|
||||||
<a href="{{ item.id }}" target="_blank" rel="noopener" class="button">See thread</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
{% endunless %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
Loading…
Reference in a new issue