A favicon, which is an abbreviation of the word “favorite icon”, is a small icon that helps users visually identify and distinguish your website. Its main purpose is to help visitors locate your page easier when they have multiple tabs, bookmarks, shortcuts, and address bars open.
With so many platforms, devices, icon formats, and dimensions, it’s hard to know exactly what you should do to consistently present your website icon/brand everywhere. That’s the reason why there are multiple favicon generators available. Just a quick search for “favicon generator” will reveal a long list of websites that assist in creating favicons supported across a wide range of platforms, and devices.
All I had to do was take a cropped version of my profile picture. It’s important that the picture be square, by the way. Then uploaded it to favicon.io and out came a zip file with everything I needed. Once downloaded, I extracted the zip file and copied the contents to the “static” folder of my Hugo site:
The next step was to simply copy the HTML snippet generated on the download page and paste it into
And that was it! I hope you find this post valuable, dear reader. All comments and feedback greatly appreciated.
Add favicon in config.toml · Issue #42