diff --git a/.gitignore b/.gitignore index 6d2c4a1..25394ea 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,8 @@ hugo_stats.json # Node (CMS) node_modules/ +# Admin-SPA Build-Output (wird im Container gebaut) +cms/admin/dist/ # Editors .vscode/ diff --git a/assets/css/custom.css b/assets/css/custom.css index c90fdf0..f0baab3 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -751,6 +751,20 @@ a.byline-author:hover, a.journal-author:hover { color: var(--accent); } .wiki-foot a { color: var(--color-text-muted); text-decoration: none; } .wiki-foot a:hover { color: var(--accent); } +/* ── Software-Landing: Werkzeuge getrennt von Texten ── */ +.software-h { font-family: var(--font-family-serif); margin: var(--spacing-md) 0 var(--spacing-sm); } +.software-tools { margin-bottom: var(--spacing-lg); } +.tool-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.8em; } +.tool-item { display: flex; align-items: flex-start; gap: 0.5em; background: var(--color-bg-secondary); + border: 1px solid var(--color-border); border-left: 4px solid var(--section-color, var(--accent)); border-radius: 12px; padding: 0.9em 1em; } +.tool-item:hover { border-color: var(--section-color, var(--accent)); } +.tool-main { flex: 1; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 0.2em; min-width: 0; } +.tool-name { font-family: var(--font-family-serif); font-weight: 600; font-size: 1.05rem; } +.tool-item:hover .tool-name { color: var(--accent); } +.tool-sum { font-size: var(--font-size-small); } +.tool-ext { flex: none; color: var(--color-text-muted); text-decoration: none; font-size: 1.15em; line-height: 1; } +.tool-ext:hover { color: var(--accent); } + /* ------------------------------------------------------------------------ Journal entries — three Republik-style layouts (set in front matter via `layout: image|icon|text`). Every entry is a full-bleed coloured diff --git a/layouts/library/list.html b/layouts/library/list.html index eefb13c..b3830cd 100644 --- a/layouts/library/list.html +++ b/layouts/library/list.html @@ -36,6 +36,53 @@ {{ end }} + {{ else if eq .Path "/library/software" }} + {{/* Software: kuratierte Landing — Werkzeuge (mit externem Link) getrennt + von Texten & Anleitungen. */}} +
+

Library

+

{{ .Title }}

+ {{ with .Params.description }}

{{ . }}

{{ end }} +
+ + {{ $tools := where .RegularPages "Params.external" "!=" nil }} + {{ $texts := where .RegularPages "Params.external" nil }} + + {{ with $tools }} +
+

Werkzeuge

+ +
+ {{ end }} + +
+

Texte & Anleitungen

+
+ +
+
{{ else }} {{/* Library subsection: chronologisch */}} {{ $section := path.Base .RelPermalink }}