Logo .png doesn't appear

Hi,

I don’t understand why the logo .png appears locally running hugo server while deploying the site on the server, but it doesn’t appear.
Is there anything I did wrong?
Any help?


From the config.yaml

label:
    text: EUAILegalAss
    icon: /images/logo-new00.png
    iconHeight: 150

because it’s not there where you expect it.

supposedly you serve from a subfolder not the root of the domain.

please post:

  • your baseUrl (config and production)
  • exact image location
  • your code rendering the image

Thank you.
I can post what you asked.
However, the JPG logo is in the same directory, and if I change the file extension from PNG to JPG, it works.
Here is the baseURL: 'https://www.ailegalassociation.eu/'

educated guess. a capitalization problem.

local is windows
published build on linux

if not share more

What do you mean?

I succeeded.
Thank you.

I worked on the JPG image to delete the background, and I used the new PNG image, which worked.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.