You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have generated my site and when I open the site from the hugo server, my social links appear just as they should, but on the rendered site, the social links disappear. Here is my page where the links are not displayed.
The text was updated successfully, but these errors were encountered:
I am updating this as I figured out the problem and will add at least one solution here in case anyone runs into this problem:
The issue was that when I ran the Hugo code to generate the HTML files for my website all the URLs to the static images for the social icons I was using had HTTPS prefixes. My website was not HTTPS enabled and so the URLs were not directing to the actual location of the image files for the icons and so weren't displaying. The links were still embedded on the pages where the social icons would appear but because the static images couldn't be accessed you couldn't see them.
I haven't figured out an automatic fix for this, there doesn't seem to be some place in the Codex templates to say whether or not your website is HTTPS enabled and so to create the right URLs, so I have had to just go in and edit the html documents manually. Ctrl-F, find and replace does the trick quickly but I will have to do the same thing when I change my website and recompile it.
I have generated my site and when I open the site from the hugo server, my social links appear just as they should, but on the rendered site, the social links disappear. Here is my page where the links are not displayed.
The text was updated successfully, but these errors were encountered: