okkur / syna

Highly customizable open source theme for Hugo based static websites
https://syna.okkur.org/demo/
Apache License 2.0
250 stars 133 forks source link

unable to overwrite the favicon.ico #835

Closed JOduMonT closed 3 years ago

JOduMonT commented 3 years ago

As usual, I created a favicon.ico which contains 3 layers with GIMP and I saved it inside ./static/images/ with favicon.png and favicon.svg

While favicon.svg and favicon.png superseed Syna logo, favicon.ico doesn't.

I tried

all these attempts failed.

Environment:

PS: I also opened the issue here, please tell me where it is the best to follow ;)

stp-ip commented 3 years ago

Try adding the favicon.ico in static/. Assumption would be that the browser looks at the default location aka the root of the page and not the location the header describes. Might be a good documentation item to add, if it works.

JOduMonT commented 3 years ago

@stp-ip thank for your light, image

stp-ip commented 3 years ago

Ah missed that your files were in static/images. They need to be in static/ or referenced as images/favicon.ico in the config.

JOduMonT commented 3 years ago

Ah missed that your files were in static/images. They need to be in static/ or referenced as images/favicon.ico in the config.

Doh I missed that too, thank to your eyes :)