From 6d82d6f8514ce4c6d2f880c3ceba0496cb0678d9 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 28 Apr 2022 11:38:28 +0200 Subject: [PATCH] fix: fix rendering issue for untranslated pages in bundle menu (#389) --- layouts/partials/menu-bundle.html | 81 ++++++++++++++++--------------- 1 file changed, 41 insertions(+), 40 deletions(-) diff --git a/layouts/partials/menu-bundle.html b/layouts/partials/menu-bundle.html index 59bb434..bb4221b 100644 --- a/layouts/partials/menu-bundle.html +++ b/layouts/partials/menu-bundle.html @@ -27,47 +27,48 @@ {{ $id := substr (sha1 $this.Permalink) 0 8 }} {{ $doCollapse := and (isset . "sub") (or $this.Params.GeekdocCollapseSection (default false .Site.Params.GeekdocCollapseAllSections)) }} - - - + /> + + {{ end }} {{ else }} {{ $name }} {{ end }}