From f82bbe36c34e63cbf845c866e2681867d3275f28 Mon Sep 17 00:00:00 2001 From: Vinoo Ganesh Date: Fri, 13 Feb 2026 14:11:53 -0500 Subject: [PATCH] Disable Google Fonts and remove Algolia DocSearch config --- assets/scss/_variables_project.scss | 5 ++++- hugo.toml | 5 ----- layouts/partials/hooks/body-end.html | 10 ---------- layouts/partials/hooks/head-end.html | 3 --- 4 files changed, 4 insertions(+), 19 deletions(-) diff --git a/assets/scss/_variables_project.scss b/assets/scss/_variables_project.scss index 4b7cd5d6..94a8dd37 100644 --- a/assets/scss/_variables_project.scss +++ b/assets/scss/_variables_project.scss @@ -4,4 +4,7 @@ Add styles or override variables from the theme here. */ -$primary: #56a4ed +$primary: #56a4ed; + +// Disable Google Fonts to comply with apache.org Content Security Policy +$td-enable-google-fonts: false; diff --git a/hugo.toml b/hugo.toml index ae94c744..347fb930 100644 --- a/hugo.toml +++ b/hugo.toml @@ -110,11 +110,6 @@ prism_syntax_highlighting = false # User interface configuration -[params.search.algolia] -appId = '399WOPSE6Q' -apiKey = '437a8e172549357b6ca768248caecff9' -indexName = 'parquet-apache' - [params.ui] # Set to true to disable breadcrumb navigation. breadcrumb_disable = false diff --git a/layouts/partials/hooks/body-end.html b/layouts/partials/hooks/body-end.html index 7eaec5e1..e69de29b 100644 --- a/layouts/partials/hooks/body-end.html +++ b/layouts/partials/hooks/body-end.html @@ -1,10 +0,0 @@ -{{ with .Site.Params.algolia_docsearch }} - - - -{{ end }} diff --git a/layouts/partials/hooks/head-end.html b/layouts/partials/hooks/head-end.html index f038c1e4..e69de29b 100644 --- a/layouts/partials/hooks/head-end.html +++ b/layouts/partials/hooks/head-end.html @@ -1,3 +0,0 @@ -{{ with .Site.Params.algolia_docsearch }} - -{{ end }}