Our blog pages are not being indexed by Google. Upon inspection we are finding the following code inside the content_for_header block:
Solved! Go to the solution
first.. change that robot.txt into follow and index
generate sitemap for all pages of website
submit it to webmaster
your pages will be crawled and indexed soon
This is an accepted solution.
It turns out that the developer who had created the blog page had created a metafield (namespace = "seo", key="hidden", value=1) to mark it as noindex during the development period, and hadn't undone that when we went live. Once that metafield was deleted from the blog, the meta tag was removed from the Shopify-generated HTML.