From ce0ef6d072eb68e6d42c85e47d4a815c174c22d0 Mon Sep 17 00:00:00 2001 From: Gerwin Klein Date: Wed, 31 Jul 2024 18:13:19 +1000 Subject: [PATCH] nav: tweak sections in tutorial nav - The bootstrap nav side bar isn't prepared for two-level lists. Instead, use one single-level list where non-link items are given class nav-section, so they can function as section dividers and the nav links are rendered the same as other nav links. - Reduce padding for tutorials side nav to fit more of it on the screen. Signed-off-by: Gerwin Klein --- _includes/nav-sidebar.html | 40 +++++++++++++------------------------- assets/css/style.scss | 14 +++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/_includes/nav-sidebar.html b/_includes/nav-sidebar.html index 9ab87f9158..092fb29896 100644 --- a/_includes/nav-sidebar.html +++ b/_includes/nav-sidebar.html @@ -54,16 +54,13 @@ {% endif %} -{% if page_url[1] == "tutorials" %} +{% if page_url[1] == "Tutorials" %} {% assign url = "" %} -