How to make sure google indexes your site

I verified my ownership of site with google to make sure it starts indexing it using directions provided here.

Here is an issue I faced. After verifying my ownership I logged into google search console to check on the performance. I saw this warning


To debug this I followed instructions here

The problem was that the default ananke theme I had used was adding a noindex which I confirmed by checking the source html.


I fixed it by changing themes (which I was planning to do anyways). You can also simply search for the file in your themes directory which has the noindex and remove it and regenerate the html by running hugo to fix it.