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 777 forks source link

Add site icon param for document head #345

Closed exaucae closed 2 years ago

exaucae commented 2 years ago

This will allow theme users to directly to set their site icon via the siteIconparam like so:

# config.toml
[params]
 # Path with respect to the static folder
  siteIcon = "/images/favicon.ico"

Rather than each user creating the extra-head.html to add an icon head, I sensed it should be built in, just like the site description param is.

Result: