📝 add algolia search

This commit is contained in:
StarHeartHunt 2021-07-21 17:23:16 +08:00
parent cb68e0ee1b
commit 749d33478a

View File

@ -71,6 +71,14 @@ module.exports = (context) => ({
editLinks: true,
smoothScroll: true,
algolia: {
apiKey: "ef449608d0ad6e81b9efd05db6367040",
indexName: "nonebot",
algoliaOptions: {
facetFilters: ["lang:zh-CN"],
},
},
locales: {
"/": {
label: "简体中文",