Compare commits

...

10 Commits

10 changed files with 53 additions and 130 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.hugo_build.lock
public
resources/_gen

View File

@ -4,4 +4,4 @@ layout: single
aliases: [stories]
---
{{< works >}}
{{< works corpus="works" collections="collections" creators="creators" >}}

4
data/creators.yml Normal file
View File

@ -0,0 +1,4 @@
Madison Rye Progress: https://wiki.post-self.ink/wiki/Madison_Rye_Progress
Samantha Yule Fireheart: https://wiki.post-self.ink/wiki/Samantha_Yule_Fireheart
"Krzysztof \"Tomash\" Drewniak": https://wiki.post-self.ink/wiki/User:Tomash
"Sheridan & Ovid Redcedar": https://radix.nekoweb.org

View File

@ -27,7 +27,7 @@
- title: Coffee Leak
url: /stories/coffee-leak
authors:
- Krzystof "Tomash" Drewniak
- Krzysztof "Tomash" Drewniak
type: short story
years:
- 2299
@ -135,7 +135,7 @@
- 2323
characters:
- Scout At The Party III
description: The Party *never* stops. Therei s a dog in this one~
description: The Party *never* stops. There is a dog in this one~
- title: To — in the days after her death
url: /stories/to---in-the-days-after-her-death
@ -193,6 +193,29 @@
description: This is the story of one soul, shortly after upload to a vast digital world, exploring themself and their identity. Checking the boundaries of who and what they are, peeling back the layers of gender, self, and species. All the while discovering the fractures that lay beneath along with the trauma carried from the years before upload as they grapple with their own life, past, and future in the unlimited world of the System.
cw: transphobia, PTSD, and visceral descriptions of panic
- title: When the Bough Breaks
url: https://read.post-self.ink/redcedars/when-the-bough-breaks
authors:
- Sheridan & Ovid Redcedar
type: short story
years:
- 2392
characters:
- Meristem
description: A root instance addresses her eldest daughter syndrome.
- title: A letter to Meristem's up-trees
url: https://read.post-self.ink/redcedars/a-letter-to-meristems-up-trees-systime-268-222
parent: When the Bough Breaks
authors:
- Sheridan & Ovid Redcedar
type: short story
years:
- 2392
characters:
- Haustor
description: Reality and Truth are siblings, not the same.
- title: Wrigglings Toward
url: /stories/wrigglings-toward
authors:
@ -340,6 +363,7 @@
- 23462355
characters:
- The Bălan clade
description: Selected correspondences of the Bălan clade systime 222232.
##############
# Motes Played
@ -434,8 +458,9 @@
collection: hashichzur
authors:
- Madison Rye Progress
- Samantha Yule Fireheart (contributor)
- Krzysztof "Tomash" Drewniak (contributor)
contributors:
- Samantha Yule Fireheart
- Krzysztof "Tomash" Drewniak
type: novel
years:
- 2403
@ -476,7 +501,8 @@
collection: hashichzur
authors:
- Madison Rye Progress
- Samantha Yule Fireheart (contributor)
contributors:
- Samantha Yule Fireheart
type: novel
years:
- 2401
@ -572,7 +598,7 @@
- 2401
characters:
- Scout At The Party V
decription: It may stumble, but nothing stops The Party.
description: It may stumble, but nothing stops The Party.
- title: A Well-Trained Eye
url: https://marsh.post-self.ink/stories/a-well-trained-eye/

View File

@ -1,95 +0,0 @@
{{- with hugo.Data.works }}
{{- $works := . }}
<section class="works">
<dl>
{{- range $work := sort (where (where $works "collection" nil) "parent" nil) "title" "asc" }}
<dt><a href="{{ $work.url }}">{{ $work.title }}</a> <span class="author">by {{ delimit $work.authors ", " }}</span></dt>
<dd>
{{ $work.description | markdownify }}
<ul class="meta">
<li><em>Type:</em> {{ $work.type }}</li>
<li><em>Characters and dates:</em>
{{- range $k, $v := $work.years }}
{{ index $work.characters $k }} — {{ $v }}
{{- if ne (add $k 1) ($work.years | len) }}, {{- end }}
{{- end }}</li>
{{- if $work.cw }}<li><em>CWs:</em> {{ $work.cw }}</li>{{- end }}
{{- if $work.spoilers }}<li><em>Spoilers:</em> {{ $work.spoilers | markdownify }}</li>{{- end }}
</ul>
{{- $subworks := where $works "parent" "eq" $work.title }}
{{- if gt (len $subworks) 0 }}
<h3>Associated works</h3>
<dl>
{{- range $subwork := where $works "parent" "eq" $work.title }}
<dt><a href="{{ $subwork.url }}">{{ $subwork.title }}</a> <span class="author">by {{ delimit $subwork.authors ", " }}</span></dt>
<dd>
{{ $subwork.description | markdownify }}
<ul class="meta">
<li><em>Type:</em> {{ $subwork.type }}</li>
<li><em>Characters and dates:</em> <ul>
{{- range $k, $v := $subwork.years }}
<li>{{ index $subwork.characters $k }} — {{ $v }}</li>
{{- end }}
</ul></li>
{{- if $subwork.cw }}<li><em>CWs:</em> {{ $subwork.cw }}</li>{{- end }}
{{- if $subwork.spoilers }}<li><em>Spoilers:</em> {{ $subwork.spoilers | markdownify }}</li>{{- end }}
</ul>
</dd>
{{- end }}
</dl>
{{- end }}
</dd>
{{- end }}
</dl>
{{- range $collection := hugo.Data.collections }}
<h2>{{ $collection.title }}</h2>
<dl>
{{- range $work := where $works "collection" $collection.id }}
<dt><a href="{{ $work.url }}">{{ $work.title }}</a> <span class="author">by {{ delimit $work.authors ", " }}</span></dt>
<dd>
{{ $work.description | markdownify }}
<ul class="meta">
<li><em>Type:</em> {{ $work.type }}</li>
<li><em>Characters and dates:</em> <ul>
{{- range $k, $v := $work.years }}
<li>{{ index $work.characters $k }} — {{ $v }}</li>
{{- end }}
</ul></li>
{{- if $work.cw }}<li><em>CWs:</em> {{ $work.cw }}</li>{{- end }}
{{- if $work.spoilers }}<li><em>Spoilers:</em> {{ $work.spoilers | markdownify }}</li>{{- end }}
</ul>
{{- $subworks := where $works "parent" "eq" $work.title }}
{{- if gt (len $subworks) 0 }}
<h3>Associated works</h3>
<dl>
{{- range $subwork := where $works "parent" "eq" $work.title }}
<dt><a href="{{ $subwork.url }}">{{ $subwork.title }}</a> <span class="author">by {{ delimit $subwork.authors ", " }}</span></dt>
<dd>
{{ $subwork.description | markdownify }}
<ul class="meta">
<li><em>Type:</em> {{ $subwork.type }}</li>
<li><em>Characters and dates:</em> <ul>
{{- range $k, $v := $subwork.years }}
<li>{{ index $subwork.characters $k }} — {{ $v }}</li>
{{- end }}
</ul></li>
{{- if $subwork.cw }}<li><em>CWs:</em> {{ $subwork.cw }}</li>{{- end }}
{{- if $subwork.spoilers }}<li><em>Spoilers:</em> {{ $subwork.spoilers | markdownify }}</li>{{- end }}
</ul>
</dd>
{{- end }}
</dl>
{{- end }}
</dd>
{{- end }}
</dl>
{{- end }}
</section>
{{- end }}
<style>
</style>

View File

@ -1,6 +1,15 @@
[build]
command = "hugo"
publish = "public"
[build.environment]
HUGO_VERSION = "0.157.0"
DART_SASS_VERSION = "1.98.0"
GO_VERSION = "1.26.1"
HUGO_VERSION = "0.157.0"
[build]
publish = "public"
command = """\
curl -sLJO "https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \
tar -C "${HOME}/.local" -xf "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \
rm "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \
export PATH="${HOME}/.local/dart-sass:${PATH}" && \
git config core.quotepath false && \
hugo build --gc --minify --baseURL "${URL}"
"""

View File

@ -201,32 +201,10 @@ main.story .author, main.story .character, main.story h3 {
}
.works dt {
background: rgba(127, 127, 127, 0.2);
background: linear-gradient(135deg, transparent 0.5rem, rgba(127, 127, 127, 0.2) 0) top left;
margin: 0;
padding: 0 0 0.25rem 1rem;
text-decoration: none;
position: relative;
}
.works .author {
font-size: 14pt;
font-style: italic;
}
.works dd {
background-color: rgba(127, 127, 127, 0.1);
background: linear-gradient(315deg, transparent 0.5rem, rgba(127, 127, 127, 0.1) 0) bottom right;
margin: 0 0 2rem 0;
padding: 0.25rem 1rem 0.25rem 2rem;
text-align: left;
font-size: 16pt;
}
.works h2 {
margin-top: 4rem;
}
.works .meta {
font-size: 14pt;
list-style-type: none;
padding-top: 0.5rem;
}
@media only screen and (max-width: 960px) {