From 0f80378a7c482a2911cb687f982d15a4660a8b80 Mon Sep 17 00:00:00 2001 From: karim Date: Thu, 4 Jun 2026 12:50:12 +0200 Subject: [PATCH] =?UTF-8?q?ui(wiki):=20Header=20wie=20die=20=C3=BCbrigen?= =?UTF-8?q?=20Sektionen=20(section-header),=20kein=20doppeltes=20'Wiki'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Übersicht: nur ein section-title (Rubrik 'Wiki' über Titel 'Wiki' entfernt) - Einzelseite: Rubrik = Gruppe (z.B. Begriffe), Titel = Seitentitel - Titel über die volle Breite (8px-Akzentlinie wie Library), Spalten darunter - ungenutzte .wiki-rubric/.wiki-head CSS entfernt Co-Authored-By: Claude Opus 4.8 --- assets/css/custom.css | 2 -- layouts/wiki/list.html | 13 ++++++------- layouts/wiki/single.html | 16 ++++++++-------- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index f0baab3..757549e 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -738,8 +738,6 @@ a.byline-author:hover, a.journal-author:hover { color: var(--accent); } .wiki-nav li a.is-current { color: var(--color-text-primary); font-weight: 600; border-left-color: var(--accent); } .wiki-page { min-width: 0; } -.wiki-rubric { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--color-text-muted); margin: 0 0 0.2em; } -.wiki-head h1 { margin: 0 0 0.2em; } .wiki-index { margin-top: var(--spacing-md); } .wiki-group { margin-bottom: var(--spacing-md); } .wiki-group h2 { font-family: var(--font-family-serif); font-size: 1.1rem; margin: 0 0 0.4em; } diff --git a/layouts/wiki/list.html b/layouts/wiki/list.html index 263371c..9467845 100644 --- a/layouts/wiki/list.html +++ b/layouts/wiki/list.html @@ -1,13 +1,12 @@ {{ define "main" }} +
+

{{ .Title }}

+
+
-
-
-

Wiki

-

{{ .Title }}

-
- +
{{ .Content }}
{{ $pages := where site.RegularPages "Section" "wiki" }} @@ -37,6 +36,6 @@ {{ else }}

Noch keine Einträge — der erste entsteht im Redaktions-Editor.

{{ end }} -
+
{{ end }} diff --git a/layouts/wiki/single.html b/layouts/wiki/single.html index 5740d0b..1be4d19 100644 --- a/layouts/wiki/single.html +++ b/layouts/wiki/single.html @@ -1,14 +1,14 @@ {{ define "main" }} +
+

{{ with .Params.group }}{{ . }}{{ else }}Wiki{{ end }}

+

{{ .Title }}

+ {{ with .Params.summary }}

{{ . }}

{{ end }} +
+
-
-
-

Wiki{{ with .Params.group }} · {{ . }}{{ end }}

-

{{ .Title }}

- {{ with .Params.summary }}

{{ . }}

{{ end }} -
- +
{{ $hasToC := .Params.toc | default false }} {{ $headers := findRE "bearbeiten ↗ {{ end }}
-
+
{{ end }}