🔧 Chore: setup exampleSite algolia appid & appkey

This commit is contained in:
Cell
2022-01-26 15:15:19 +08:00
parent 16195e4cc7
commit 6bf6fa1080
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -143,8 +143,8 @@ enableEmoji = true
absoluteURL = false
[languages.en.params.search.algolia]
index = "index.en"
appID = "PASDMWALPK"
searchKey = "b42948e51daaa93df92381c8e2ac0f93"
appID = "YKOM6PKLUY"
searchKey = "a44c110d3ac360be2c69cd79d34b77a8"
# Home page config
[languages.en.params.home]
# amount of RSS pages
@@ -353,8 +353,8 @@ enableEmoji = true
absoluteURL = false
[languages.zh-cn.params.search.algolia]
index = "index.zh-cn"
appID = "PASDMWALPK"
searchKey = "b42948e51daaa93df92381c8e2ac0f93"
appID = "YKOM6PKLUY"
searchKey = "a44c110d3ac360be2c69cd79d34b77a8"
# 主页信息设置
[languages.zh-cn.params.home]
# RSS 文章数目
@@ -224,7 +224,7 @@ hugo new friends/index.md
### Offline
{{< version 0.2.12 >}} See [PWA Support]({{< relref "pwa-support" >}}) for details.
{{< version 0.2.12 >}} See [PWA Support](/pwa-support/) for details.
Set `type: "offline"` in the front matter and set `enablePWA` in `config.toml`:
```toml
@@ -223,7 +223,7 @@ hugo new friends/index.md
### 离线页面
{{< version 0.2.12 >}} 详见 [PWA 支持]({{< relref "pwa-support" >}})
{{< version 0.2.12 >}} 详见 [PWA 支持](/zh-cn/pwa-support/)
在前置参数中设置 `type: "offline"`,并在 `config.toml` 中开启 `enablePWA`
```toml