diff --git a/content/writing/onspiders.md b/content/writing/onspiders/index.md similarity index 94% rename from content/writing/onspiders.md rename to content/writing/onspiders/index.md index 9b21022..70e6ea2 100644 --- a/content/writing/onspiders.md +++ b/content/writing/onspiders/index.md @@ -1,8 +1,11 @@ --- title: "On Spiders" date: 2026-03-22T01:03:00-05:00 -type: onspiders +type: writing description: "Whenever I stay still, I feel the spiders weave their webs around me." +custom_css: +- style.scss +body_start_partial: "spiderweb.html" --- ``` diff --git a/assets/scss/onspiders.scss b/content/writing/onspiders/style.scss similarity index 100% rename from assets/scss/onspiders.scss rename to content/writing/onspiders/style.scss diff --git a/content/writing/spirits/index.md b/content/writing/spirits/index.md index 1c98e15..106f212 100644 --- a/content/writing/spirits/index.md +++ b/content/writing/spirits/index.md @@ -1,8 +1,10 @@ --- title: "Persistence of Vision" date: 2026-04-18T23:26:00-07:00 -type: spirits +type: writing description: "Humid air swirls with colorful spirits." +custom_css: +- style.scss --- Humid air swirls with colorful spirits. They trace its invisible currents diff --git a/assets/scss/spirits.scss b/content/writing/spirits/style.scss similarity index 100% rename from assets/scss/spirits.scss rename to content/writing/spirits/style.scss diff --git a/content/writing/thevoid.md b/content/writing/thevoid/index.md similarity index 99% rename from content/writing/thevoid.md rename to content/writing/thevoid/index.md index 62871da..989e962 100644 --- a/content/writing/thevoid.md +++ b/content/writing/thevoid/index.md @@ -1,8 +1,10 @@ --- title: "Untitled Short Story" date: 2024-08-01T20:31:18-07:00 -type: thevoid +type: writing description: "The Everpresent Void was first discovered at a children's birthday party." +custom_css: +- style.scss --- > I'm losing my edge to the art-school Brooklynites in little jackets and\ diff --git a/assets/scss/thevoid.scss b/content/writing/thevoid/style.scss similarity index 100% rename from assets/scss/thevoid.scss rename to content/writing/thevoid/style.scss diff --git a/layouts/onspiders/baseof.html b/layouts/onspiders/baseof.html deleted file mode 100644 index 9660a94..0000000 --- a/layouts/onspiders/baseof.html +++ /dev/null @@ -1,25 +0,0 @@ -{{- /* Note: changing the baseof template because the title, tags, etc. of a regular post are still valid. */ -}} - - - {{- partial "head.html" . -}} - - {{ $writingcss := resources.Get "scss/writing.scss" | css.Sass | resources.Minify }} - - {{ $spidercss := resources.Get "scss/onspiders.scss" | css.Sass | resources.Minify }} - - - - - {{- partial "header.html" . -}} -

-
- - {{- if .Draft -}} - {{- partial "warning.html" (i18n "postDraft") -}} - {{- end -}} - - {{- block "main" . }}{{- end }} -
- {{- block "after" . }}{{- end }} - - diff --git a/layouts/partials/spiderweb.html b/layouts/partials/spiderweb.html new file mode 100644 index 0000000..691577f --- /dev/null +++ b/layouts/partials/spiderweb.html @@ -0,0 +1,3 @@ + + + diff --git a/layouts/spirits/baseof.html b/layouts/spirits/baseof.html deleted file mode 100644 index 1544a86..0000000 --- a/layouts/spirits/baseof.html +++ /dev/null @@ -1,22 +0,0 @@ -{{- /* Note: changing the baseof template because the title, tags, etc. of a regular post are still valid. */ -}} - - - {{- partial "head.html" . -}} - - {{ $writingcss := resources.Get "scss/writing.scss" | css.Sass | resources.Minify }} - - {{ $spiritscss := resources.Get "scss/spirits.scss" | css.Sass | resources.Minify }} - - {{- partial "header.html" . -}} -

-
- - {{- if .Draft -}} - {{- partial "warning.html" (i18n "postDraft") -}} - {{- end -}} - - {{- block "main" . }}{{- end }} -
- {{- block "after" . }}{{- end }} - - diff --git a/layouts/thevoid/baseof.html b/layouts/writing/baseof.html similarity index 82% rename from layouts/thevoid/baseof.html rename to layouts/writing/baseof.html index 6ae61c0..4648c7c 100644 --- a/layouts/thevoid/baseof.html +++ b/layouts/writing/baseof.html @@ -3,10 +3,13 @@ {{- partial "head.html" . -}} + {{ with .Params.body_start_partial }} + {{ partial . $ }} + {{ end }} + + {{ $writingcss := resources.Get "scss/writing.scss" | css.Sass | resources.Minify }} - {{ $voidcss := resources.Get "scss/thevoid.scss" | css.Sass | resources.Minify }} - {{- partial "header.html" . -}}