Lesekabinett & Startseite

This commit is contained in:
Simon Martens
2025-03-02 00:27:16 +01:00
parent 6e286857d5
commit 0a86833a9f
56 changed files with 771 additions and 445 deletions

View File

@@ -0,0 +1,8 @@
<div class="container-normal relative">
<div class="text">
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
<div class="text [&_*]:!indent-0 [&_p]:mt-2">
{{ Safe .record.Text }}
</div>
</div>
</div>

View File

@@ -0,0 +1 @@
<title>{{ .site.title }} &ndash; {{ .record.Title }}</title>

View File

@@ -0,0 +1,8 @@
<div class="container-normal relative">
<div class="text">
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
<div class="text">
{{ Safe .record.Text }}
</div>
</div>
</div>

View File

@@ -0,0 +1 @@
<title>{{ .site.title }} &ndash; {{ .record.Title }}</title>

View File

@@ -0,0 +1,5 @@
<div class="container-normal">
<div class="text mt-6">
{{ Safe .record.Text }}
</div>
</div>

View File

@@ -0,0 +1 @@
<title>{{ .site.title }} &ndash; {{ .record.Title }}</title>

View File

@@ -0,0 +1,8 @@
<div class="container-normal relative">
<div class="text">
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
<div class="text [&_*]:!indent-0 [&_p]:mt-2">
{{ Safe .record.Text }}
</div>
</div>
</div>

View File

@@ -0,0 +1 @@
<title>{{ .site.title }} &ndash; {{ .record.Title }}</title>

View File

@@ -0,0 +1,8 @@
<div class="container-normal relative">
<div class="text indented">
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
<div class="text">
{{ Safe .record.Text }}
</div>
</div>
</div>

View File

@@ -0,0 +1 @@
<title>{{ .site.title }} &ndash; {{ .record.Title }}</title>

View File

@@ -0,0 +1,20 @@
{{ $toc := TOCFromHTML .record.Text }}
<div class="container-normal relative">
<div class="text ">
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
<div class="flex flex-row gap-x-6 justify-between ">
<div class="grow shrink-0 text indented">
{{ Safe .record.Text }}
</div>
<div>
{{- if $toc -}}
<div class="xl:sticky xl:top-8 grow-0">
{{- template "_toc" $toc -}}
</div>
{{- end -}}
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1 @@
<title>{{ .site.title }} &ndash; {{ .record.Title }}</title>