From bebbe79ff92b923f886431814b44c1a86ff4c453 Mon Sep 17 00:00:00 2001 From: johnmhoran Date: Wed, 6 May 2026 09:36:19 -0700 Subject: [PATCH] Incorporate baseUrl into footer icon source paths #154 Reference: https://github.com/aboutcode-org/www.aboutcode.org/issues/154 Signed-off-by: johnmhoran --- website/docusaurus.config.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 21a5021..4a77abd 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -32,6 +32,9 @@ const siteConfig = { }, }; +// Define const for the footer icon paths. +const currentBaseUrl = siteConfig[deployTarget].baseUrl + /** @type {import('@docusaurus/types').Config} */ const config = { title: 'AboutCode.org', @@ -147,27 +150,27 @@ const config = { style: 'dark', links: [ { - html: `AboutCode.org`, + html: `AboutCode.org`, }, { - html: ``, + html: ``, }, { - html: ``, + html: ``, }, { - html: ``, + html: ``, }, { - html: ``, + html: ``, }, { - html: ``, + html: ``, }, { label: 'Privacy Policy', to: '/privacy' },