How to only search a website’s home page, not any pages down the URL’s path

I will try and explain what I am wanting.
I want to search for a website that has “Goo” but only on it’s main page

So, if https://www.foo.com/

has “goo” somewhere in its main page’s text I want to be given that site.

But if “Goo” is found on www.examplesite.com/articles/La-tercera-guerra-mundial/

I do not want to receive that result because it is hosted on a subfolder of the website. I am referring to the /articles/La-tercera-guerra-mundial/ part of the URL.

Sorry if this is hard to understand, ask any questions.