From 27074f78466570595ddb50331e9e992aeb766ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Mon, 30 Mar 2026 11:49:51 +0200 Subject: [PATCH] Update modified docsy partials MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To reflect changes from upstream. Signed-off-by: Kévin Commaille --- layouts/_markup/render-heading.html | 2 +- layouts/_partials/navbar.html | 8 ++++---- layouts/_partials/sidebar-tree.html | 5 +++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/layouts/_markup/render-heading.html b/layouts/_markup/render-heading.html index d16aac8f..6b11f3ea 100644 --- a/layouts/_markup/render-heading.html +++ b/layouts/_markup/render-heading.html @@ -1,7 +1,7 @@ {{- /* This is a heading render hook (https://gohugo.io/render-hooks/headings/) - using Docsy's heading self-links hook (https://www.docsy.dev/docs/adding-content/navigation/#heading-self-links). + using Docsy's heading self-links hook (https://www.docsy.dev/docs/content/navigation/#heading-self-links). This is used when a heading is encountered in markdown content to generate the HTML for that heading. A self-link anchor is added at the end of the diff --git a/layouts/_partials/navbar.html b/layouts/_partials/navbar.html index 0a563d8f..6e7c8836 100644 --- a/layouts/_partials/navbar.html +++ b/layouts/_partials/navbar.html @@ -2,7 +2,6 @@ A copy of the navbar.html partial in Docsy, modified to: - * remove `data-bs-theme` at L20, otherwise the title disappears on hover. * replace the site title with "specification" at L31. * include the spec version from the config at L34-35, which is calculated using an inline `version-string` partial. @@ -16,7 +15,8 @@ {{ $baseURL := urls.Parse $.Site.Params.Baseurl -}}