Skip to content

Commit 2cf30d7

Browse files
authored
Disable Google Fonts and remove Algolia DocSearch config (#167)
1 parent e550179 commit 2cf30d7

4 files changed

Lines changed: 4 additions & 19 deletions

File tree

assets/scss/_variables_project.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ Add styles or override variables from the theme here.
44
55
*/
66

7-
$primary: #56a4ed
7+
$primary: #56a4ed;
8+
9+
// Disable Google Fonts to comply with apache.org Content Security Policy
10+
$td-enable-google-fonts: false;

hugo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,6 @@ prism_syntax_highlighting = false
110110

111111
# User interface configuration
112112

113-
[params.search.algolia]
114-
appId = '399WOPSE6Q'
115-
apiKey = '437a8e172549357b6ca768248caecff9'
116-
indexName = 'parquet-apache'
117-
118113
[params.ui]
119114
# Set to true to disable breadcrumb navigation.
120115
breadcrumb_disable = false
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +0,0 @@
1-
{{ with .Site.Params.algolia_docsearch }}
2-
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
3-
4-
<script type="text/javascript">
5-
docsearch({
6-
container: '#search_box',
7-
debug: false // Set debug to true if you want to inspect the modal
8-
});
9-
</script>
10-
{{ end }}
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
{{ with .Site.Params.algolia_docsearch }}
2-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3"/></pre></li>
3-
{{ end }}

0 commit comments

Comments
 (0)