mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
consolidated page data
This commit is contained in:
@@ -37,10 +37,10 @@
|
||||
<div class="mt-8 lg:text-lg font-medium lg:w-9/12 xl:w-7/12 mx-auto px-4 lg:px-0">
|
||||
<div class="lg:flex gap-x-12 starttext font-serif hyphens-auto" id="introtext">
|
||||
<div class="lg:w-2/3">
|
||||
{{- Safe $model.texte.Abs1 -}}
|
||||
{{- pageHtml "index" "abs1" -}}
|
||||
</div>
|
||||
<div class="lg:mt-36 lg:w-1/3">
|
||||
{{- Safe $model.texte.Abs2 -}}
|
||||
{{- pageHtml "index" "abs2" -}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center mt-8 startlinks font-serif text-xl">
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
<title>{{ .texte.Title }}</title> <meta name="description" content="{{ .texte.Description }}" />
|
||||
<title>{{ pageMetaField "index" "title" }}</title>
|
||||
<meta name="description" content="{{ pageMetaField "index" "description" }}" />
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div class="container-normal relative">
|
||||
<div class="text">
|
||||
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
|
||||
{{ if (pageMetaField "benutzerhinweise" "title") }}<h1 class="mb-12">{{ pageMetaField "benutzerhinweise" "title" }}</h1>{{ end }}
|
||||
<div class="text">
|
||||
{{ Safe .record.Text }}
|
||||
{{ pageHtml "benutzerhinweise" "text" }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<title>{{ .site.title }} – {{ .record.Title }}</title>
|
||||
<meta name="description" content="{{ .record.Description }}" />
|
||||
<title>{{ .site.title }} – {{ pageMetaField "benutzerhinweise" "title" }}</title>
|
||||
<meta name="description" content="{{ pageMetaField "benutzerhinweise" "description" }}" />
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div class="container-normal relative">
|
||||
<div class="text">
|
||||
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
|
||||
{{ if (pageMetaField "danksagungen" "title") }}<h1 class="mb-12">{{ pageMetaField "danksagungen" "title" }}</h1>{{ end }}
|
||||
<div class="text [&_*]:!indent-0 [&_p]:mt-2">
|
||||
{{ Safe .record.Text }}
|
||||
{{ pageHtml "danksagungen" "text" }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<title>{{ .site.title }} – {{ .record.Title }}</title>
|
||||
<meta name="description" content="{{ .record.Description }}" />
|
||||
<title>{{ .site.title }} – {{ pageMetaField "danksagungen" "title" }}</title>
|
||||
<meta name="description" content="{{ pageMetaField "danksagungen" "description" }}" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="container-normal">
|
||||
<div class="text mt-6">
|
||||
{{ Safe .record.Text }}
|
||||
{{ pageHtml "einleitung" "text" }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<title>{{ .site.title }} – {{ .record.Title }}</title>
|
||||
<meta name="description" content="{{ .record.Description }}" />
|
||||
<title>{{ .site.title }} – {{ pageMetaField "einleitung" "title" }}</title>
|
||||
<meta name="description" content="{{ pageMetaField "einleitung" "description" }}" />
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div class="container-normal relative">
|
||||
<div class="text">
|
||||
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
|
||||
{{ if (pageMetaField "kontakt" "title") }}<h1 class="mb-12">{{ pageMetaField "kontakt" "title" }}</h1>{{ end }}
|
||||
<div class="text [&_*]:!indent-0 [&_p]:mt-2">
|
||||
{{ Safe .record.Text }}
|
||||
{{ pageHtml "kontakt" "text" }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<title>{{ .site.title }} – {{ .record.Title }}</title>
|
||||
<meta name="description" content="{{ .record.Description }}" />
|
||||
<title>{{ .site.title }} – {{ pageMetaField "kontakt" "title" }}</title>
|
||||
<meta name="description" content="{{ pageMetaField "kontakt" "description" }}" />
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div class="container-normal relative">
|
||||
<div class="text indented">
|
||||
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
|
||||
{{ if (pageMetaField "lesekabinett" "title") }}<h1 class="mb-12">{{ pageMetaField "lesekabinett" "title" }}</h1>{{ end }}
|
||||
<div class="text">
|
||||
{{ Safe .record.Text }}
|
||||
{{ pageHtml "lesekabinett" "text" }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<title>{{ .site.title }} – {{ .record.Title }}</title>
|
||||
<meta name="description" content="{{ .record.Description }}" />
|
||||
<title>{{ .site.title }} – {{ pageMetaField "lesekabinett" "title" }}</title>
|
||||
<meta name="description" content="{{ pageMetaField "lesekabinett" "description" }}" />
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{{ $toc := TOCFromHTML .record.Text }}
|
||||
{{ $toc := TOCFromHTML (printf "%s" (pageHtml "literatur" "text")) }}
|
||||
|
||||
|
||||
<div class="container-normal relative">
|
||||
<div class="text ">
|
||||
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
|
||||
{{ if (pageMetaField "literatur" "title") }}<h1 class="mb-12">{{ pageMetaField "literatur" "title" }}</h1>{{ end }}
|
||||
<div class="flex flex-row gap-x-6 justify-between ">
|
||||
<div class="grow shrink-0 text indented jumptext">
|
||||
{{ Safe .record.Text }}
|
||||
{{ pageHtml "literatur" "text" }}
|
||||
</div>
|
||||
<div>
|
||||
{{- if $toc -}}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<title>{{ .site.title }} – {{ .record.Title }}</title>
|
||||
<meta name="description" content="{{ .record.Description }}" />
|
||||
<title>{{ .site.title }} – {{ pageMetaField "literatur" "title" }}</title>
|
||||
<meta name="description" content="{{ pageMetaField "literatur" "description" }}" />
|
||||
|
||||
@@ -29,15 +29,14 @@
|
||||
.search
|
||||
.hidden
|
||||
|
||||
.record
|
||||
.record.Image(Path)
|
||||
.record.Text
|
||||
pageHtml "reihen" "text"
|
||||
imagePath "page.reihen.image"
|
||||
|
||||
.startpage
|
||||
*/}}
|
||||
|
||||
{{ $model := . }}
|
||||
{{ if and .startpage .record }}
|
||||
{{ if .startpage }}
|
||||
{{ template "hero" . }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
class="max-w-[52rem] font-serif text-base hyphens-auto bg-gray-50 py-8 border-r
|
||||
border-b">
|
||||
<div class="px-8">
|
||||
{{ Safe $model.record.Text }}
|
||||
{{ pageHtml "reihen" "text" }}
|
||||
<div class="pt-3">
|
||||
<a href="/redaktion/einleitung">Einleitung</i></a>
|
||||
<i class="ri-seedling-line px-1.5"></i>
|
||||
@@ -24,7 +24,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="-mr-16 pt-2 grow-0">
|
||||
<img src="{{ $model.record.ImagePath }}" />
|
||||
<img src="{{ imagePath "page.reihen.image" }}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="absolute top-0 right-0 m-4 mr-8">
|
||||
|
||||
Reference in New Issue
Block a user