Add Baidu site verfication (#2830)
This commit is contained in:
parent
641ca6f3d8
commit
deaed193af
2 changed files with 19 additions and 0 deletions
|
@ -152,4 +152,7 @@
|
||||||
{% if site.naver_site_verification %}
|
{% if site.naver_site_verification %}
|
||||||
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
|
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if site.baidu_site_verification %}
|
||||||
|
<meta name="baidu-site-verification" content="{{ site.baidu_site_verification }}">
|
||||||
|
{% endif %}
|
||||||
<!-- end _includes/seo.html -->
|
<!-- end _includes/seo.html -->
|
||||||
|
|
|
@ -715,6 +715,22 @@ Into `_config.yml`
|
||||||
yandex_site_verification: "2132801JL"
|
yandex_site_verification: "2132801JL"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Baidu
|
||||||
|
|
||||||
|
There are several ways to verify site ownership — the easiest is adding an authentication code to your config file.
|
||||||
|
|
||||||
|
Copy and paste the string inside of `content`:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<meta name="baidu-site-verification" content="code-iA0wScWXN1" />
|
||||||
|
```
|
||||||
|
|
||||||
|
Into `_config.yml`
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
baidu_site_verification: "code-iA0wScWXN1"
|
||||||
|
```
|
||||||
|
|
||||||
#### Twitter Cards and Facebook Open Graph
|
#### Twitter Cards and Facebook Open Graph
|
||||||
|
|
||||||
To improve the appearance of links shared from your site to social networks like Twitter and Facebook be sure to configure the following.
|
To improve the appearance of links shared from your site to social networks like Twitter and Facebook be sure to configure the following.
|
||||||
|
|
Loading…
Reference in a new issue