Autor-Seiten: /authors/<slug>/ (rundes Bild, Name, Bio, zentriert) + Byline-Link
- layouts/authors/single.html rendert die Autor-Seite zentriert - Byline in single.html + index.html verlinkt den Autornamen zu /authors/<urlize name>/ (nur wenn die Seite existiert) - CMS-Profil-Speichern schreibt content/authors/<slug>.md (aus Name/Bio/Avatar) + data/authors.json und baut public neu → Seite & Links sofort live - Autor-Seiten aus dem Inhalts-Editor ausgeblendet (über „Profil" verwaltet) - custom.css: .author-page / -photo / -name / -bio + Byline-Link-Stil Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -397,6 +397,34 @@ a:hover {
|
||||
[data-color="amagumo"] { --section-color: var(--palette-amagumo); }
|
||||
[data-color="yuki"] { --section-color: var(--palette-yuki); }
|
||||
|
||||
/* Autor-Seite (/authors/<slug>/) — zentriert: rundes Bild, Name, Kurztext */
|
||||
.author-page {
|
||||
max-width: 54ch;
|
||||
margin: 0 auto;
|
||||
padding: var(--spacing-xl) var(--spacing-md);
|
||||
text-align: center;
|
||||
}
|
||||
.author-photo {
|
||||
width: 168px;
|
||||
height: 168px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
margin: 0 auto var(--spacing-md);
|
||||
}
|
||||
.author-name {
|
||||
font-family: var(--font-family-serif);
|
||||
margin: 0 0 var(--spacing-sm);
|
||||
}
|
||||
.author-bio {
|
||||
color: var(--color-text-muted);
|
||||
line-height: 1.7;
|
||||
}
|
||||
.author-bio p { margin: 0 0 1em; }
|
||||
.byline-author { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
|
||||
.byline-author:hover { color: var(--accent); }
|
||||
.journal-author { color: inherit; }
|
||||
|
||||
/* ------------------------------------------------------------------------
|
||||
Journal entries — three Republik-style layouts (set in front matter
|
||||
via `layout: image|icon|text`). Every entry is a full-bleed coloured
|
||||
|
||||
Reference in New Issue
Block a user