Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Baidu Verification Failed: HTML Code Mismatch #3166

Open
2 tasks done
hn303 opened this issue Nov 8, 2024 · 0 comments
Open
2 tasks done

Baidu Verification Failed: HTML Code Mismatch #3166

hn303 opened this issue Nov 8, 2024 · 0 comments

Comments

@hn303
Copy link

hn303 commented Nov 8, 2024

Preliminary Checks

Description

The Baidu verification on the academic-cv site is currently not functioning correctly. It appears that the verification code embedded in the HTML () does not match the format required by Baidu ().

Please see the error message below for more details:

验证失败
不到一分钟前https://xxxx.com使用HTML标签验证
原因:找不到验证的HTML标签或者验证的HTML标签内容错误。
问题分析&解决办法: 一般是html的meta标签没有正确放置,注意meta标签必需严格使用搜索资源平台提供的形式,不要做任何修改。

Reproduction Link

https://github.com/HugoBlox/hugo-blox-builder/tree/main/starters/academic-cv

Steps to Reproduce

  1. add Baidu verification in params.yaml
  2. deploy website locally
  3. check the head in html from page source
    ...

Expected Result

Actual Result

What Hugo Module versions does your site use?

go 1.19

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Chrome, Safari

Which Hugo Blox template are you using?

Academic CV

What version of Hugo are you using?

hugo_version: '0.135.0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant