How to Hide the Author Name in the Beautifulhugo Theme

how to remove author name

* This page contains promotional content

On this site there is only one administrator, so going to the trouble of showing the author (Author name) has no meaning.

Setting the Author field to display:none; with CSS might remove only the display, but since it is unnecessary I thought I might as well delete it outright.
Looking into the files right away, I found it written in theme/beautifulhugo/layouts/partials/post_meta.html.

  {{ if not .Site.Params.hideAuthor }}
    {{ if .Params.author }}
      &nbsp;|&nbsp;<i class="fas fa-user"></i>&nbsp;{{ .Params.author | safeHTML }}
    {{ else }}
      &nbsp;|&nbsp;<i class="fas fa-user"></i>&nbsp;{{ .Site.Author.name | safeHTML }}
    {{ end }}
  {{ end }}

Usually I would delete the relevant part and bring it over to root/layouts/partials/post_meta.html, but looking closely, the condition is the truth value of hideAuthor.

So it can be removed just by writing the following in config.toml

[Params]
hideAuthor = true
....

I noticed it after setting it up, but it was already written in theme/beautifulhugo/exampleSite/config.toml.
For some reason there was no such entry in my config.toml?? (a mystery

For reference, I also found a similar article

See also