diff options
author | Graham Booker <gbooker@cod3r.com> | 2022-07-14 03:33:54 +0300 |
---|---|---|
committer | zhaohuabing <zhaohuabing@gmail.com> | 2022-07-14 03:41:16 +0300 |
commit | 78de80c194648dc9475c6b484486c8751583128f (patch) | |
tree | d0391ba27cd33ac33e18f5782b39089f0329bbc3 | |
parent | 8f372c7d485e12035d8746463f8b2410cc750148 (diff) |
Pages should be built with search only key.
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | exampleSite/content/post/readme.md | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -165,7 +165,7 @@ Add the following variables to your hugo site config so the search page can get algolia_search = true
algolia_appId = {{ YOUR_APP_ID }}
algolia_indexName = {{ YOUR_INDEX_NAME }}
-algolia_apiKey = {{ YOUR_ADMIN_KEY }}
+algolia_apiKey = {{ YOUR_SEARCH_ONLY_KEY }}
```
Open search page in your browser: http://localhost:1313/search
diff --git a/exampleSite/content/post/readme.md b/exampleSite/content/post/readme.md index 20f6001..3c5f7e6 100644 --- a/exampleSite/content/post/readme.md +++ b/exampleSite/content/post/readme.md @@ -125,7 +125,7 @@ Add the following variables to your hugo site config so the search page can get algolia_search = true algolia_appId = {{ YOUR_APP_ID }} algolia_indexName = {{ YOUR_INDEX_NAME }} -algolia_apiKey = {{ YOUR_ADMIN_KEY }} +algolia_apiKey = {{ YOUR_SEARCH_ONLY_KEY }} ``` Open search page in your browser: http://localhost:1313/search |