Hi,
How can I set my personal favicon?
I cannot find where to configure, and I didn't see the instruction in documentation.
Website icon
Save your desktop and mobile icons as square PNG images named icon-32.png (32x32 pixels), icon-192.png (192x192 pixels), and icon-512.png (512x512 pixels) respectively. Place them in your root static/img/ folder.
Note that, according to the docs, putting icon-*.png icons in /static/img/ is only relevant for versions prior to v4.7. For more recent versions, I had success putting a 512x512 icon file named icon.png in /themes/academic/assets/images/.
Note that, according to the docs, putting
icon-*.pngicons in/static/img/is only relevant for versions prior to v4.7. For more recent versions, I had success putting a 512x512 icon file namedicon.pngin/themes/academic/assets/images/.
but then this breaks the law of modifying the theme directly , how did you check-in the modifications made for the themes folder without modifying it ?
@salecharohit just put the icon.png file to assets/images in your hugo root. No need to modify the theme.
Is it normal that I see the icon in the safari tab on my iPhone, but not on my Mac? Any suggestion about that?
Most helpful comment
Note that, according to the docs, putting
icon-*.pngicons in/static/img/is only relevant for versions prior to v4.7. For more recent versions, I had success putting a 512x512 icon file namedicon.pngin/themes/academic/assets/images/.