gokarna-theme / gokarna-hugo

A minimal opinionated theme for Hugo
https://gokarna-hugo.netlify.app
GNU General Public License v3.0
358 stars 140 forks source link

avatar #122

Closed 5uru closed 2 years ago

5uru commented 2 years ago

Hi in which folder should I put the avatar I can't display it

jamesericdavidson commented 2 years ago

See the documentation.

Make a subdirectory of static called images, then place a file called avatar.jpg into static/images.

Hence:

[params]
  avatarURL = "/images/avatar.jpg"

Note that the static directory is missing from the path in config.toml.

Of course, it suffices to place any image file into the static directory, but I'm quoting the documentation verbatim to avoid confusion.

yashmehrotra commented 2 years ago

Thanks for the help @jamesericdavidson

Hope this helps you @JoSuru