From 0fbc847f7cce3941d8463c657b03bca2acd69b00 Mon Sep 17 00:00:00 2001 From: ParzivalPavlis Date: Wed, 25 Feb 2026 12:43:26 +0100 Subject: [PATCH] feat: reorder TOC and main content structure in base templates risk: low --- layouts/docs/baseof.html | 26 +++++++++++++------------- layouts/swagger/baseof.html | 6 +++--- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 0e28baf..71423b7 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -25,20 +25,20 @@
{{ partial "sidebar.html" . }}
-
- {{ partial "toc.html" . }} -
-
- {{ partial "version-banner.html" . }} - {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} - {{ if .Draft }} -
{{ partialCached "footer.html" . }} diff --git a/layouts/swagger/baseof.html b/layouts/swagger/baseof.html index 2f96812..87a29db 100644 --- a/layouts/swagger/baseof.html +++ b/layouts/swagger/baseof.html @@ -19,15 +19,15 @@
{{ partial "sidebar.html" . }}
-
- {{ partial "toc.html" . }} -
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} {{ block "main" . }}{{ end }}
+
+ {{ partial "toc.html" . }} +
{{ partialCached "footer.html" . }}