doc: update _config.yml to add algolia search

This commit is contained in:
Leon Xu committed 2021-07-26 09:44:12 -07:00
1 parent b92f5275b6
commit 5efb4d8e2e
1 file changed
+18 -1
+18 -1
View File
@@ -141,4 +141,21 @@ envelope_comment:
path: #【可选】comments 的路径名称。默认为 comments,生成的页面为 comments/index.html
front_matter: #【可选】comments页面的 front_matter 配置
title: 留言板
comments: true
comments: true
# Algolia
algolia:
appId: "JCV3966QBS"
apiKey: "275765dbf8f0c4772ce75a61d956160a"
adminApiKey: "02d000b55e8ce81ebbe45c682101e157"
chunkSize: 5000
indexName: "Leon的技术阁"
fields:
- content:strip:truncate,0,500
- excerpt:strip
- gallery
- permalink
- photos
- slug
- tags
- title