zwbetz-gh / cupper-hugo-theme

An accessibility-friendly Hugo theme, ported from the original Cupper project.
https://cupper-hugo-theme.netlify.app/
MIT License
301 stars 190 forks source link

parameter for logo file #4

Closed quentinbdno closed 5 years ago

quentinbdno commented 5 years ago

Hello,

first time I use Hugo and with your theme it is really nice. However to change the logo under static/images/ in your theme don't seem the best practice. Could you prepare a correction so it can be integrate directly in the site config files?

Thanks

zwbetz-gh commented 5 years ago

Hi @datatemplar, I'm glad you like the theme.

So you actually don't have to replace the theme's logo. You can just place your logo here:

your-site/static/images/logo.svg

And Hugo will automatically use your logo instead of the theme's logo.

Also, SVG logos are best since their colors will be inverted when the theme is viewed in "dark mode".

zwbetz-gh commented 5 years ago

The logo docs have been updated. See 51f3f7b

zwbetz-gh commented 5 years ago

Closing this issue