Comments (4)
Hi, @cmpsoares91
For some reason of Hugo, &
in the content won't be escaped as &
.
I have fixed &
of the subtitle in the home page in #79 .
But I can't fix the behavior of hugo --minify
, which replaces some &
with &
leading to the invalid HTML checking.
Could you show more error information from the google search console?
from loveit.
Hello @dillonzq ,
Sorry for the delayed reply.
I've been looking further into it, and it seems that the template or Hugo itself is modifying the string in the page scheme to hexadecimal ASCII and Google says that their scheme parser is unable to parse it... more specifically the error: "Bad escape sequence in string".
So for the apostrophe example: it is expecting \'
instead of \x27
and it happens on other similar occasions.
As is the example of: "datePublished":"2019-03-26T07:31:58\x2b00:00","dateModified":"2020-02-26T03:47:06\x2b00:00"
Many thanks,
Carlos Manuel Soares.
from loveit.
Hello @dillonzq ,
I think I might have a fix for you. But I need to wait for Google's re-index to be sure.
If it confirms the fix, I'll create a PR for you to validate.
So, I'll keep you posted.
Many thanks,
Carlos Manuel Soares.
from loveit.
Nice thanks! Going to test this version!
from loveit.
Related Issues (20)
- 请问标题动画的代码在哪里? HOT 1
- 国内静态资源CDN HOT 3
- [FEATURE] disable theme switcher and order of params.social
- [BUG] _index.md worked fine with other theme/hugo version, not now HOT 2
- [BUG] Copy button in codeblock does not appear
- [BUG] Some problem...
- [FEATURE] Using local icons/svg in titile and menu ("pre") 如何使用本地SVG文件作为图标
- 我的博客内容部署后主页只显示两篇博客内容,其余的不显示
- [BUG] Deprecations
- [BUG] 网站主页配置头像未显示 HOT 1
- [BUG] 本地预览shortcodes有效,但是vercel部署过后shortcodes无法找到
- [BUG] Posts in the 'posts' directory but with type explicitly set to 'post' are not shown on the home page
- [FEATURE] Some feature
- [BUG] loveit 页面网页title渲染无效 HOT 2
- [FEATURE] 请问loveit主题怎么更换字体呢? HOT 2
- [BUG] 博客文章的中文子目录无法跳转 HOT 1
- [BUG] hugo giscus 评论区无法自动切换夜间模式
- [BUG] 為何我的Tag和Categories的英文字首會是大寫?
- How to automatically configure the update time of articles
- [BUG] code代码样式不太对 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loveit.