lxchapu / astro-gyoza

A simple and cute static blog template built with Astro and React.🥟🥟🥟
https://gyoza.lxchapu.com
MIT License
73 stars 32 forks source link

搜索功能如何配置 #1

Closed ihxkjggg closed 5 months ago

ihxkjggg commented 5 months ago

你好,看到你的模板很不错。试了下,发现我将appid和APPkey配置好后,还是无法搜索,请问这个要怎么配置才可以呢?可以指导一下吗?

lxchapu commented 5 months ago

目前接入的是 DocSearch,你可以前往它的网站 https://docsearch.algolia.com/apply 进行申请,申请通过后会往你的邮箱发送一封邮件,里面包含了对应的 appId apiKeyindexName。将它们填写到 config.json 文件的对应配置项即可。

最后非常感谢您的使用,这个模版还处于非常早期的阶段,可能会有各种 Bug,欢迎提建议和PR。后续可能会采用别的搜索集成~~

ihxkjggg commented 5 months ago

好的,有问题我反馈,目前都挺好