ui: Archiv/Library mit Titel oben, Archiv-Atlas zeigt 10 + 'alle →'; Logo +10%, Masthead-Abstände +20%
- Archiv-Root + Library-Übersicht bekommen einen section-title ganz oben. - Archiv-Atlas: letzte 10 statt 6 pro Kategorie, 'alle in … →' am Block-Ende. - Subsektionen rendern ihren Intro (.Content) nach dem Header. - Wordmark clamp 140-200 → 154-220 (+10%); Header-Padding 0.4rem/2px → 0.48rem/2.4px, Logo↔Menü 0.1→0.12em (+20%). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
|
||||
{{ if .IsSection }}
|
||||
{{ if eq .Path "/archiv" }}
|
||||
{{/* Archiv root: Atlas — gruppiert nach Untersection */}}
|
||||
{{ if eq .Path "/archiv" }}
|
||||
{{/* Archiv root: Titel + Intro + Atlas (je Kategorie die letzten 10) */}}
|
||||
<header class="section-header"><h1 class="section-title">{{ .Title }}</h1></header>
|
||||
{{ .Content }}
|
||||
<section class="atlas">
|
||||
{{ range .Sections.ByWeight }}
|
||||
{{ $section := path.Base .RelPermalink }}
|
||||
@@ -11,14 +10,14 @@
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||
{{ with .Params.description }}<p class="text-muted">{{ . }}</p>{{ end }}
|
||||
<ul class="atlas-list">
|
||||
{{ range first 6 .RegularPages.ByDate.Reverse }}
|
||||
{{ range first 10 .RegularPages.ByDate.Reverse }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
<span class="list-meta text-muted"> · {{ partial "date.html" .Date }}</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ if gt (len .RegularPages) 6 }}
|
||||
{{ if gt (len .RegularPages) 10 }}
|
||||
<p class="more"><a href="{{ .RelPermalink }}">alle in {{ .Title }} →</a></p>
|
||||
{{ end }}
|
||||
</article>
|
||||
@@ -45,6 +44,8 @@
|
||||
{{ with .Params.description }}<p class="section-description">{{ . }}</p>{{ end }}
|
||||
</header>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ $tools := where .RegularPages "Params.external" "!=" nil }}
|
||||
{{ $texts := where .RegularPages "Params.external" nil }}
|
||||
|
||||
@@ -91,6 +92,7 @@
|
||||
<h1 class="section-title">{{ .Title }}</h1>
|
||||
{{ with .Params.description }}<p class="section-description">{{ . }}</p>{{ end }}
|
||||
</header>
|
||||
{{ .Content }}
|
||||
<div class="time-list" data-section="{{ $section }}">
|
||||
<ul>
|
||||
{{ range .RegularPages.ByDate.Reverse }}
|
||||
@@ -109,5 +111,4 @@
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user