From eac0e94d2f49c4a02b683c7f9b99b934fb28a15c Mon Sep 17 00:00:00 2001 From: Fiachra Corcoran Date: Thu, 5 Dec 2024 09:41:52 +0000 Subject: [PATCH] Improve doc site navigation --- config.toml | 4 ++++ layouts/_default/_markup/render-heading.html | 1 + 2 files changed, 5 insertions(+) create mode 100644 layouts/_default/_markup/render-heading.html diff --git a/config.toml b/config.toml index 7b53925b..4640f158 100644 --- a/config.toml +++ b/config.toml @@ -143,6 +143,10 @@ breadcrumb_disable = false sidebar_search_disable = false +# Set to false to prevent the menu sub-sections from being foldable + +sidebar_menu_foldable = true + # Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar navbar_logo = true diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html new file mode 100644 index 00000000..d8326e6a --- /dev/null +++ b/layouts/_default/_markup/render-heading.html @@ -0,0 +1 @@ +{{ template "_default/_markup/td-render-heading.html" . }} \ No newline at end of file