panr / hugo-theme-hello-friend

Pretty basic theme for Hugo that covers all of the essentials. All you have to do is start typing!
https://github.com/panr/hugo-theme-hello-friend/
MIT License
1.06k stars 1.24k forks source link

Advice on dark theme logo path? #291

Closed codefromthecrypt closed 2 years ago

codefromthecrypt commented 2 years ago

Thanks for the fantastic project. We use this in https://func-e.io and https://wazero.io

On the latter, we are using a logo in lieu of the blinky. I'm wondering how to specify an alternative svg for when it is in dark theme.. any advice?

Here's how we are specifying the default:

[params]
  defaultTheme = "light"

[languages]
  [languages.en]
    [languages.en.params.logo]
      logoText = "wazero"
      path = "/img/wazero.svg"
codefromthecrypt commented 2 years ago

I went with doing this in SVG which works fine https://github.com/tetratelabs/wazero/pull/547