rhazdon / hugo-theme-hello-friend-ng

Pretty basic theme for Hugo that covers all of the essentials. All you have to do is start typing!
https://github.com/rhazdon/hugo-theme-hello-friend-ng/
Other
1.46k stars 769 forks source link

Added option for inline svg logo #390

Open Morpheus0x opened 2 years ago

Morpheus0x commented 2 years ago

This is needed to support a changing logo style depending on light/dark mode.

The svg logo has to be saved into the layouts/partials/ folder as an html file. To use that inline svg the following config has to be set:

[params.logo]
  svg = "logo_svg"

Where logo_svg.html is the file name within the partials folder.