Skip to content

Commit 98ebae3

Browse files
committed
Reconfiguring Algolia
Although the algolia script seems to be broken
1 parent 1b62fa0 commit 98ebae3

File tree

3 files changed

+6
-19
lines changed

3 files changed

+6
-19
lines changed

website_and_docs/hugo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ github_branch= "trunk"
151151
offlineSearch = false
152152
offlineSearchMaxResults = 30
153153

154-
# Enable Algolia DocSearch
155-
algolia_docsearch = true
156154

157155
# Enable Plausible.io
158156
plausible_analytics = true
@@ -163,6 +161,12 @@ prism_syntax_highlighting = true
163161
# Enable announcement banner below navbar (Go to announcement-banner.html to change the message)
164162
announcement_banner = true
165163

164+
# Enable Algolia DocSearch
165+
[params.search.algolia]
166+
appId = "6IOXA5JK7Z"
167+
apiKey = "2b44a1d3530f9951dd6502059058984a"
168+
indexName = "selenium"
169+
166170
# User interface configuration
167171
[params.ui]
168172
# Enable to show the side bar menu in its compact state.

website_and_docs/layouts/partials/hooks/body-end.html

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
{{ with .Site.Params.algolia_docsearch }}
2-
<!-- stylesheet for algolia docsearch -->
3-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
4-
{{ end }}
5-
61
{{ with .Site.Params.plausible_analytics }}
72
<script defer data-domain="selenium.dev" src="https://plausible.io/js/plausible.js"></script>
83
{{ end }}

0 commit comments

Comments
 (0)