On my personal blog deployed with Zola, I received an error in Google Search Console about “Parsing error: Missing ‘}’ or object member name”. I checked the affected page, and noticed the application/ld+json
sections have invalid JSON.
The affected page is https://theari.dev/blog/enhanced-helix-config/. If you view source, you’ll notice in the first JSON-LD snippet, it has:
"headline": "Enhancing Your Helix Editor: A Guide to Optimal Configuration",
"image": , // <-- This is invalid JSON
"datePublished": "2023-06-07",
And the second snippet has also some invalid JSON:
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
{
"@type": "ListItem",
"position": 1 ,
"name": "Home",
"item": "https://theari.dev/"
},
// ...
My website is open source at https://github.com/tqwewe/tqwewe.github.io. Is there something I’m doing wrong here? Is it due to my theme? Or is this a Zola bug?
Thanks!
Ari