f82214719a
Header/Masthead: - neuer Wortmark logo.svg; Home als Full-Height-Flex (zwei eigenständig scrollbare Journal-Spalten, Footer klebt unten) - kompakte Masthead; scrollbar-gutter:stable auf html → kein weißer Streifen links und kein Logo/Menü-Versatz zwischen den Seiten Journal-Home: - zwei Spalten, eckige Karten in natürlicher Höhe; Bild als Block (Inline- Whitespace-Lücke behoben) Footer: - Lizenzen AGPL-3.0 / CC BY-SA verlinken auf /lizenz/ (eigene Seite); „Hosted in Lucerne" (Link zur Autor-URL); keine Underlines; flush unten; kein Open-Source-Fließtext mehr, kein Name im Copyright Dialog: - schlichte Foren-Auflistung statt Karten; kompaktes Login; kleinerer „→ Dialog"-Button (nur noch auf Library-Artikeln); einheitliche Fontgrößen; weniger Abstand zum Header, Trennlinien entfernt Config: CODE-Menü → git.openbureau.ch; params.author.url Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
34 lines
1.5 KiB
HTML
34 lines
1.5 KiB
HTML
{{/* Eine Journal-Karte. Kontext (.) = die Library-Seite. */}}
|
|
{{ $section := "" }}
|
|
{{ with .Parent }}{{ $section = path.Base .RelPermalink }}{{ end }}
|
|
{{ $author := .Params.author | default site.Params.author.name }}
|
|
{{ $cover := .Params.cover_image }}
|
|
{{ $layout := .Params.layout }}
|
|
{{ if not $layout }}{{ $layout = cond (ne $cover nil) "image" "text" }}{{ end }}
|
|
<li class="journal-entry journal-entry--layout-{{ $layout }}"
|
|
data-section="{{ $section }}"
|
|
{{ with .Params.color }}data-color="{{ . }}"{{ end }}>
|
|
<a class="journal-entry-link" href="{{ .RelPermalink }}">
|
|
{{ if and $cover (eq $layout "image") }}
|
|
<img class="journal-bg-image" src="{{ $cover | relURL }}" alt="" loading="eager" />
|
|
{{ end }}
|
|
<div class="journal-entry-body">
|
|
{{ if and $cover (eq $layout "icon") }}
|
|
<img class="journal-icon-image" src="{{ $cover | relURL }}" alt="" loading="lazy" />
|
|
{{ end }}
|
|
{{ with .Parent }}
|
|
<p class="journal-rubric"><span class="journal-section">{{ .Title }}</span></p>
|
|
{{ end }}
|
|
<h3 class="journal-title">{{ .LinkTitle }}</h3>
|
|
{{ with .Params.summary }}
|
|
<p class="journal-summary">{{ . }}</p>
|
|
{{ end }}
|
|
<p class="journal-byline">
|
|
{{- with $author -}}<span class="journal-author">{{ . }}</span>{{- end -}}
|
|
{{- if and $author .Date -}}, {{ end -}}
|
|
<time class="journal-date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "02.01.2006" }}</time>
|
|
</p>
|
|
</div>
|
|
</a>
|
|
</li>
|