From: Kai Moritz Date: Fri, 7 Nov 2025 11:39:24 +0000 (+0100) Subject: Übersichtsseite eines Projekts wird explizit angezeigt und ist ausgewählt X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=d306ede4bcd5c07c74288921d8117bd32735e352;p=website Übersichtsseite eines Projekts wird explizit angezeigt und ist ausgewählt --- diff --git a/dist/templates/layout.html b/dist/templates/layout.html index 3a7a796..939f9e3 100644 --- a/dist/templates/layout.html +++ b/dist/templates/layout.html @@ -160,7 +160,7 @@ child=${pos == len}, hidden=${!child && _canonical.get(crumbs.get(pos)) == entry}, entry=${hidden?crumbs.get(pos):entry}, - selected=${!child and (crumbs.get(pos) == entry or hidden)}, + selected=${(child and crumbs.get(pos-1) + '?about' == entry) or (!child and (crumbs.get(pos) == entry or hidden))}, leaf=${pos >= (len - 1) and not selected}, sibling=${pos + 1 == len and (_childs.get(uri) == null or uri == parent)}, childs=${entry == parent ? null : _childs.get(entry)}