From 5359d2e3e63c331607e783bd25089c1b6d29cb9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=8B=E6=9F=9A?= Date: Mon, 9 Dec 2019 15:54:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=98=E9=87=8F=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 方便主题用 algolia 变量名称与 hexo-algolia 插件相符 --- _config.yml | 18 +++++++++--------- layout/_partial/scripts.ejs | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/_config.yml b/_config.yml index c8380f1..6a8c29f 100755 --- a/_config.yml +++ b/_config.yml @@ -298,18 +298,18 @@ search: service: hexo # 类型:google, algolia, azure, baidu 默认 hexo # 选择你选取的搜索服务后,复制相应的配置到根目录配置文件中 # google: -# api_key: -# engine_id: +# apiKey: +# engineId: # algolia: -# application_ID: -# api_Key: -# index_Name: +# applicationID: +# apiKey: +# indexName: # azure: -# service_name: -# index_name: -# query_key: +# serviceName: +# indexName: +# queryKey: # baidu: -# api_id: +# apiId: # Less渲染 less: diff --git a/layout/_partial/scripts.ejs b/layout/_partial/scripts.ejs index 58fcc59..ca35ed8 100755 --- a/layout/_partial/scripts.ejs +++ b/layout/_partial/scripts.ejs @@ -2,18 +2,18 @@ <% if (theme.search && theme.search.enable) { %>