Hi all! I’m new to Hugo, but I have successfully installed it on the local machine with Ananke theme, and created a mini-webpage capoeirasamui[.]com (deployed on github + cloudlfare pages).
I still see <meta name="robots" content="noindex, nofollow"> in the source code of the page, but I tried to run HUGO_ENV=production hugo before committing and pushing all changes to GitHub.
What you are missing could be that Cloudflare is caching your old files. That’s what Cloudflare does Switch it into “Developermode” (there should be a button on your sites dashboard in Cloudflare on the right side). Then test again. If it works then clear the cache and wait a bit and it will show properly for everyone.
Thanks, but I think it’s not the case.
I tried to clear (Purge everything) on CloudFlare + cleared “Build cache”. But the noindex, nofollow is still in the code.
Moreover, I tried to update the content of the page. And it changed (both on GitHub and CloudFlare). But not the noindex/nofollow meta-tag.