From 8fb9a9a9d4a6aac09fe704a08ebee44f0ee491c5 Mon Sep 17 00:00:00 2001 From: ParzivalPavlis Date: Wed, 10 Sep 2025 14:30:22 +0200 Subject: [PATCH] docs: added ids to main content risk: low --- docs/layouts/_default/baseof.html | 2 +- docs/layouts/docs/baseof.html | 2 +- .../partials/navbar-version-selector.html | 4 +- docs/layouts/partials/sidebar.html | 94 +++++++++++++++++++ docs/layouts/partials/skip-links.html | 2 + 5 files changed, 100 insertions(+), 4 deletions(-) create mode 100644 docs/layouts/partials/sidebar.html create mode 100644 docs/layouts/partials/skip-links.html diff --git a/docs/layouts/_default/baseof.html b/docs/layouts/_default/baseof.html index 94adb78f7..113febb9a 100644 --- a/docs/layouts/_default/baseof.html +++ b/docs/layouts/_default/baseof.html @@ -10,7 +10,7 @@ {{ partial "navbar.html" . }}
-
+
{{ block "main" . }}{{ end }}
{{ partialCached "footer.html" . }} diff --git a/docs/layouts/docs/baseof.html b/docs/layouts/docs/baseof.html index 56c1d0fb4..3ad552702 100644 --- a/docs/layouts/docs/baseof.html +++ b/docs/layouts/docs/baseof.html @@ -25,7 +25,7 @@
{{ partial "toc.html" . }}
-
+
{{ partial "version-banner.html" . }} {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} {{ if .Draft }} diff --git a/docs/layouts/partials/navbar-version-selector.html b/docs/layouts/partials/navbar-version-selector.html index e11073a57..546086a14 100644 --- a/docs/layouts/partials/navbar-version-selector.html +++ b/docs/layouts/partials/navbar-version-selector.html @@ -9,9 +9,9 @@ {{ $.Scratch.Set "activeVersion" .version }} {{ end }} {{ end }} -