Hugo's Ananke Theme Sets Robot NoIndex-NoFollow
If you are using the Hugo static site generator with the Ananke theme, you should review the META tags being generated in the static HTML to ensure that it isn’t generating the Robot NoIndex-NoFollow tag that prevents search engines from indexing your website.
The reason for the tag is that Ananke uses the HUGO_ENVIRONMENT environment variable to determine if the execution environment is production or development - in development mode, it prevents search engine bots from indexing the site. To ensure Ananke and Hugo are generating the site for production, run the following:
export HUGO_ENVIRONMENT=production
export HUGO_ENV=production
hugo