From 132503fc8b345cb9fed5e9bb73a385a6edf7e5dc Mon Sep 17 00:00:00 2001 From: karim Date: Sun, 31 May 2026 13:42:18 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Autor=20auf=20Journal-Liste=20nicht=20ve?= =?UTF-8?q?rlinken=20(verschachtelte=20=20zerst=C3=B6rten=20Layout)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Der ganze Journal-Eintrag ist bereits ein ; ein Autor- darin = ungültiges nested-anchor → Browser bricht den Link auf, Einträge wurden höher. Autor dort wieder als . Der Autor-Link bleibt auf der Artikelseite (single.html), wo es keinen umschließenden Link gibt. Co-Authored-By: Claude Opus 4.8 --- layouts/index.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 2e8d127..8a946e4 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -15,9 +15,6 @@ {{ $section := "" }} {{ with .Parent }}{{ $section = path.Base .RelPermalink }}{{ end }} {{ $author := .Params.author | default site.Params.author.name }} - {{ $aslug := urlize $author }} - {{ if not .Params.author }}{{ with index site.Data.authors site.Params.author.email }}{{ with .slug }}{{ $aslug = . }}{{ end }}{{ end }}{{ end }} - {{ $authorPage := and (ne $aslug "") (site.GetPage (printf "/authors/%s" $aslug)) }} {{ $cover := .Params.cover_image }} {{/* Layout: explicit `layout:` in front matter, else derive: - cover_image present → image @@ -45,10 +42,7 @@

{{ . }}

{{ end }}

- {{- with $author -}} - {{- if $authorPage -}}{{ . }} - {{- else -}}{{ . }}{{- end -}} - {{- end -}} + {{- with $author -}}{{ . }}{{- end -}} {{- if and $author .Date -}}, {{ end -}}