From 2766c7c4b3f5435e15f1e8f20a87de8c2bb44bb8 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sun, 17 May 2026 18:34:52 +0800 Subject: [PATCH] Upgrade to bootstrap 5 --- config.yml | 2 ++ layouts/partials/carousel.html | 2 +- layouts/partials/cta-join.html | 2 +- layouts/partials/cta-newsletter.html | 4 ++-- layouts/partials/downloads.html | 2 +- layouts/partials/features.html | 6 +++--- layouts/partials/jumbo.html | 10 ++++------ layouts/partials/nav.html | 21 ++++++++++----------- layouts/partials/scripts.html | 3 +-- layouts/partials/survey.html | 6 ++---- layouts/partials/usage_footer.html | 8 ++++---- static/css/bootstrap.min.css | 1 - static/js/bootstrap.min.js | 7 ------- static/js/jquery.slim.min.js | 2 -- 14 files changed, 31 insertions(+), 45 deletions(-) delete mode 100644 static/css/bootstrap.min.css delete mode 100644 static/js/bootstrap.min.js delete mode 100644 static/js/jquery.slim.min.js diff --git a/config.yml b/config.yml index 3434441..9951658 100644 --- a/config.yml +++ b/config.yml @@ -175,6 +175,8 @@ module: target: static/fonts/jetbrains-mono - source: node_modules/@fontsource-variable/quicksand target: static/fonts/quicksand + - source: node_modules/bootstrap/dist/js + target: static/js markup: goldmark: diff --git a/layouts/partials/carousel.html b/layouts/partials/carousel.html index 2508bbb..52aedf0 100644 --- a/layouts/partials/carousel.html +++ b/layouts/partials/carousel.html @@ -5,7 +5,7 @@ style="gap: 1em 1em; overflow-x: scroll" > {{ range sort .Site.Params.carousel "weight" }} -
+
-

+

{{ i18n "cta-account-title" }}

diff --git a/layouts/partials/cta-newsletter.html b/layouts/partials/cta-newsletter.html index 191ae01..23ea987 100644 --- a/layouts/partials/cta-newsletter.html +++ b/layouts/partials/cta-newsletter.html @@ -9,7 +9,7 @@
-

+

{{ i18n "cta-newsletter-title" }}

@@ -50,7 +50,7 @@ > {{ i18n "cta-newsletter-button1" }} - + {{ i18n "cta-newsletter-no-spam" }} diff --git a/layouts/partials/downloads.html b/layouts/partials/downloads.html index de75f03..750b190 100644 --- a/layouts/partials/downloads.html +++ b/layouts/partials/downloads.html @@ -12,7 +12,7 @@ />

-

+

{{ i18n "downloads-title" }} {{ i18n "downloads-subtitle" }} diff --git a/layouts/partials/features.html b/layouts/partials/features.html index ccb1c6a..247c6a5 100644 --- a/layouts/partials/features.html +++ b/layouts/partials/features.html @@ -14,7 +14,7 @@
🏗️
-
+

{{ i18n "features-wip-lead" }}

{{ i18n "features-wip-p1-start" }} @@ -59,10 +59,10 @@ {{ end }}