From 1786622e492ed4d6736da06e197ede0153464881 Mon Sep 17 00:00:00 2001 From: Jon Froehlich Date: Mon, 15 Jun 2026 08:38:47 -0700 Subject: [PATCH] Remove dead Bootstrap scrollspy from (#1288) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Track A (#1253). The body carried `data-spy="scroll" data-target=".navbar-fixed-top"`, but Bootstrap scrollspy only activates nav links whose href is an in-page `#anchor` matching an on-page element. The main navbar contains only full page-URL links and external links — zero `#anchors` — so scrollspy matched nothing and did nothing (it just attached a wasted scroll listener). In-page section navigation on publications/awards is handled by tocbot, independent of Bootstrap. The navbar's active-page highlight is server-side template logic (`{% if url_name == ... %}active`), not scrollspy — so this is purely removing a no-op and one more Bootstrap-JS dependency. Verified: all pages 200, active-page highlight unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) --- website/templates/website/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/templates/website/base.html b/website/templates/website/base.html index 56f2352d..3f0a16cd 100644 --- a/website/templates/website/base.html +++ b/website/templates/website/base.html @@ -133,7 +133,7 @@ {% endif %} - +