zzossig / hugo-theme-zzo

Make a blog with hugo zzo theme!
https://themes.gohugo.io//theme/hugo-theme-zzo/en/
MIT License
743 stars 256 forks source link

How to set custom logo in the site navigation bar ? #412

Closed dushaoshuai closed 3 years ago

dushaoshuai commented 3 years ago

It seems that logo has been hard-coded somewhere, and there're only there options that are related to logo :

logoText = "Zzo" # Logo text that appears in the site navigation bar.
logoType = "short" # long, short -> short: squre shape includes logo text, long: rectangle shape not includes logo text
logo = true # Logo that appears in the site navigation bar.

How can I set a custom logo ?

szpak commented 3 years ago

Just add your logo as static/logo.png and it will be used.

dushaoshuai commented 3 years ago

Just add your logo as static/logo.png and it will be used.

That's brilliant! Thank you!