hugoduckduckgo

Why does a search engine summary contain text that is not in any of the static html files?


I have a hugo site, and on a search engine (Duckduckgo), my site's summary is:

Add your own "layouts/partials/hero.html" to replace this text.

I tried looking for the string hero in the files in my public folder, can't seem to find it.

I have added this file with some content. Nothing seems to happen. Do I need to edit the theme files or something?

Edit: changed title to make problem clearer. The original question asked about "hero cards", which I thought might have been a standard search engine friendly part of a website.


Solution

  • I think I understand what is happening now. I originally installed the base16 theme which does contain the text:

    Add your own "layouts/partials/hero.html" to replace this text.

    ( it is in the file themes\base16\layouts\partials\hero.html.).

    I should have realised, but search engines take time to re-index a site. I originally published the site using base16 with some text unedited. Duckduckgo was showing that old text, it will probably disappear in time when the site is reindexed.