Wowchemy-hugo-modules: Change the icon image displayed next to the webpage title

Created on 2 Feb 2018  路  8Comments  路  Source: wowchemy/wowchemy-hugo-modules

Hi,

Is there any way to change the icon image displayed next to the webpage title? By default, it shows a doctoral hat.

A similar question is described in here. But I don't know where to apply these changes in Academic theme.
https://stackoverflow.com/questions/11488960/how-do-i-put-my-websites-logo-to-be-the-icon-image-in-browser-tabs

Most helpful comment

Try placing the icon.png & icon-192.png in the public/img, where the 'public' folder is the one to be deployed on the server. I got the 'public' folder by executing command 'hugo' at my site root directory. Clear browser when you view the new site.

All 8 comments

After updating & saving icon.png & icon-192.png to static/img/ in root the icon is still a doctoral hat. I have tried updating in the theme root as well as website root & still not updating. I have tried re-loading the hugo site & still not updating. Am I missing something in the sourcethemes documentation?

Try placing the icon.png & icon-192.png in the public/img, where the 'public' folder is the one to be deployed on the server. I got the 'public' folder by executing command 'hugo' at my site root directory. Clear browser when you view the new site.

I had this issue too. For me the problem was that the documentation says to add files icon-32.png (32x32 pixels), icon-192.png (192x192 pixels), and icon-512.png whereas in reality I needed to add a file named icon.png that was 32x32.

By adding a file named icon.png (32x32) I resolved my issue without ever needing to manually update the public folder.

Edit: This is because the documentation is for the latest version, whereas I was using an older version of Academic.

Same problem here, and none of the above fixes worked. When I ran hugo, it threw an error about the alert in publications.md also not functioning and I had to comment it out.

Edit: So I finally got it after three hours of messing around with it. The final solution involved having the public folder as well as the static folder and then modifiying the line in params.toml where it says sharing_image = "icon-32.png". I did all of this before without the public folder with the name being as I have here stated it, and it didn't work. Somewhere, this apparently makes that part work.

Also be sure you actually saved a .png files and not a different type of file named icon-32.png

This still does not work with me. Also, with my current site deployment system, I don't have an easy way of simply adding the file to the public directory.

Edit: Make sure you can spell assets correctly... That might help. Heard from a friend.

Logo of Hugo theme is not friendly even i try to create /partial/logo.png does not upload new logo. Dashboard panel is https://app.forestry.io/ is easy to navigate to problem i am stock is changing the logo. Cannot find the right dir. Need help ? Other tutorials say /static/images/logo.png stil doesn't work at all.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CommonClimate picture CommonClimate  路  4Comments

anirbanbasu picture anirbanbasu  路  3Comments

halfrost picture halfrost  路  3Comments

gcushen picture gcushen  路  3Comments

petzi53 picture petzi53  路  4Comments