diff options
author | zhaohuabing <zhaohuabing@gmail.com> | 2022-08-20 11:27:14 +0300 |
---|---|---|
committer | zhaohuabing <zhaohuabing@gmail.com> | 2022-08-20 11:41:05 +0300 |
commit | ac188d67d1e82445b593142f6d20be4db19e26ed (patch) | |
tree | 05e3f768fa1db5540ce81cd65ac7b23a7f5c5e31 | |
parent | 803eac8947a64d947bf1ef5fb8e2e0241e83d883 (diff) | |
parent | 78de80c194648dc9475c6b484486c8751583128f (diff) |
Merge branch 'master' of https://github.com/zhaohuabing/hugo-theme-cleanwhite
-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 |