statamic/starter-kit-starters-creek

"Incorrect value type" from Google Search Console

connor11528 opened this issue · 4 comments

Hi there, I deployed a site using Statamic and connected to Google Search Console. The search console flagged a parsing error saying "Incorrect value type" for "@type": blogPost, that is in the antlers layout. Is this a value that needs to be set in the config or do we need to change the type setting here when on the homepage?

Screen Shot 2020-10-22 at 7 44 07 AM

I'm no expert here but my guess is that it's just missing quotes and should be "blogPost".

@jackmcdade ?

Or maybe need quotes with curly brackets if we do want to use a variable here? https://developers.google.com/search/docs/guides/generate-structured-data-with-javascript

Screen Shot 2020-12-10 at 6 58 06 AM

Is it supposed to be a variable?

thank you @jackmcdade!