mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-30 09:45:31 +00:00
Statische Seiten
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<div class="container-normal">
|
||||
<div class="container-normal relative">
|
||||
<div class="text">
|
||||
{{ Safe .record.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>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<title>{{ .site.title }} – {{ .record.title }}</title>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<title>{{ .site.title }} – {{ .record.Title }}</title>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<title>{{ .site.title }} – {{ .record.Title }}</title>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<div class="container-normal">
|
||||
<div class="container-normal relative">
|
||||
<div class="text">
|
||||
{{ Safe .record.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>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<title>{{ .site.title }} – {{ .record.Title }}</title>
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
<div class="container-normal">
|
||||
{{ $toc := TOCFromHTML .record.Text }}
|
||||
|
||||
|
||||
<div class="container-normal relative">
|
||||
<div class="text indented">
|
||||
{{ Safe .record.Text }}
|
||||
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
|
||||
<div class="flex flex-row gap-x-6 justify-between">
|
||||
<div class="jumptext grow shrink-0">
|
||||
{{ 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>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<title>{{ .site.title }} – {{ .record.Title }}</title>
|
||||
|
||||
Reference in New Issue
Block a user