diff --git a/CHANGELOG.md b/CHANGELOG.md index d05419b..0d58a82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 1.18.0 + +### Features + +- Feat: Google site verification support + # 1.17.0 ### Features diff --git a/README.md b/README.md index 867928e..a623c8b 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,14 @@ aomori_baidu_analytics: '' aomori_google_analytics: 'UA-XXXXX-X' ``` +#### Google Site Verification + +``` yml +aomori_google_site: + enable: true + id: XXX +``` + #### Busuanzi Count Counting service provided by [Busuanzi](https://busuanzi.ibruce.info/) diff --git a/README_CN.md b/README_CN.md index e8b5d47..e847972 100644 --- a/README_CN.md +++ b/README_CN.md @@ -127,6 +127,14 @@ aomori_baidu_analytics: '' aomori_google_analytics: 'UA-XXXXX-X' ``` +#### Google Site Verification + +``` yml +aomori_google_site: + enable: true + id: XXX +``` + #### 不蒜子 统计 由 [不蒜子](https://busuanzi.ibruce.info/) 提供的计数服务 diff --git a/_config.yml b/_config.yml index f09be8c..eca9b9b 100644 --- a/_config.yml +++ b/_config.yml @@ -1,2 +1,2 @@ -version: 1.17.0 +version: 1.18.0 language: cn diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index cad7cd6..9635bc7 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -21,6 +21,10 @@ <% if (title){ %><%= title %> | <% } %><%= config.title %> + <% if (config.aomori_google_site && config.aomori_google_site.enable){ %> + + <% } %> + <% if (config.aomori_search_algolia){ %> <%- algolia_search_config() %> <% } %> diff --git a/package.json b/package.json index db98020..a68478c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-theme-aomori", - "version": "1.17.0", + "version": "1.18.0", "description": "", "author": "lh1me", "scripts": {