Merge all writing layouts into a single one
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: "On Spiders"
|
title: "On Spiders"
|
||||||
date: 2026-03-22T01:03:00-05:00
|
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."
|
description: "Whenever I stay still, I feel the spiders weave their webs around me."
|
||||||
|
custom_css:
|
||||||
|
- style.scss
|
||||||
|
body_start_partial: "spiderweb.html"
|
||||||
---
|
---
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -1,8 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: "Persistence of Vision"
|
title: "Persistence of Vision"
|
||||||
date: 2026-04-18T23:26:00-07:00
|
date: 2026-04-18T23:26:00-07:00
|
||||||
type: spirits
|
type: writing
|
||||||
description: "Humid air swirls with colorful spirits."
|
description: "Humid air swirls with colorful spirits."
|
||||||
|
custom_css:
|
||||||
|
- style.scss
|
||||||
---
|
---
|
||||||
|
|
||||||
Humid air swirls with colorful spirits. They trace its invisible currents
|
Humid air swirls with colorful spirits. They trace its invisible currents
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: "Untitled Short Story"
|
title: "Untitled Short Story"
|
||||||
date: 2024-08-01T20:31:18-07:00
|
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."
|
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\
|
> I'm losing my edge to the art-school Brooklynites in little jackets and\
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
{{- /* Note: changing the baseof template because the title, tags, etc. of a regular post are still valid. */ -}}
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="{{ .Site.Language.Lang }}">
|
|
||||||
{{- partial "head.html" . -}}
|
|
||||||
<body>
|
|
||||||
{{ $writingcss := resources.Get "scss/writing.scss" | css.Sass | resources.Minify }}
|
|
||||||
<link rel="stylesheet" href="{{ $writingcss.Permalink }}">
|
|
||||||
{{ $spidercss := resources.Get "scss/onspiders.scss" | css.Sass | resources.Minify }}
|
|
||||||
<link rel="stylesheet" href="{{ $spidercss.Permalink }}">
|
|
||||||
<svg class="spiderweb" viewBox="0 0 197.21727 106.16592">
|
|
||||||
<use href="{{ (resources.Get "svg/spiderweb.svg").Permalink }}#mainlayer"></use>
|
|
||||||
</svg>
|
|
||||||
{{- partial "header.html" . -}}
|
|
||||||
<div class="container"><hr class="header-divider"></div>
|
|
||||||
<main class="container">
|
|
||||||
|
|
||||||
{{- if .Draft -}}
|
|
||||||
{{- partial "warning.html" (i18n "postDraft") -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- block "main" . }}{{- end }}
|
|
||||||
</main>
|
|
||||||
{{- block "after" . }}{{- end }}
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
3
layouts/partials/spiderweb.html
Normal file
3
layouts/partials/spiderweb.html
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg class="spiderweb" viewBox="0 0 197.21727 106.16592">
|
||||||
|
<use href="{{ (resources.Get "svg/spiderweb.svg").Permalink }}#mainlayer"></use>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 150 B |
@@ -1,22 +0,0 @@
|
|||||||
{{- /* Note: changing the baseof template because the title, tags, etc. of a regular post are still valid. */ -}}
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="{{ .Site.Language.Lang }}">
|
|
||||||
{{- partial "head.html" . -}}
|
|
||||||
<body>
|
|
||||||
{{ $writingcss := resources.Get "scss/writing.scss" | css.Sass | resources.Minify }}
|
|
||||||
<link rel="stylesheet" href="{{ $writingcss.Permalink }}">
|
|
||||||
{{ $spiritscss := resources.Get "scss/spirits.scss" | css.Sass | resources.Minify }}
|
|
||||||
<link rel="stylesheet" href="{{ $spiritscss.Permalink }}">
|
|
||||||
{{- partial "header.html" . -}}
|
|
||||||
<div class="container"><hr class="header-divider"></div>
|
|
||||||
<main class="container">
|
|
||||||
|
|
||||||
{{- if .Draft -}}
|
|
||||||
{{- partial "warning.html" (i18n "postDraft") -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- block "main" . }}{{- end }}
|
|
||||||
</main>
|
|
||||||
{{- block "after" . }}{{- end }}
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -3,10 +3,13 @@
|
|||||||
<html lang="{{ .Site.Language.Lang }}">
|
<html lang="{{ .Site.Language.Lang }}">
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "head.html" . -}}
|
||||||
<body>
|
<body>
|
||||||
|
{{ with .Params.body_start_partial }}
|
||||||
|
{{ partial . $ }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
{{ $writingcss := resources.Get "scss/writing.scss" | css.Sass | resources.Minify }}
|
{{ $writingcss := resources.Get "scss/writing.scss" | css.Sass | resources.Minify }}
|
||||||
<link rel="stylesheet" href="{{ $writingcss.Permalink }}">
|
<link rel="stylesheet" href="{{ $writingcss.Permalink }}">
|
||||||
{{ $voidcss := resources.Get "scss/thevoid.scss" | css.Sass | resources.Minify }}
|
|
||||||
<link rel="stylesheet" href="{{ $voidcss.Permalink }}">
|
|
||||||
{{- partial "header.html" . -}}
|
{{- partial "header.html" . -}}
|
||||||
<div class="container"><hr class="header-divider"></div>
|
<div class="container"><hr class="header-divider"></div>
|
||||||
<main class="container">
|
<main class="container">
|
||||||
Reference in New Issue
Block a user