hugo-bootstrap-premium
hugo-bootstrap-premium copied to clipboard
Error when building site, and also social links?
Hi,
This theme is great. But for some reason, when I build the site, I get the following warning:
WARNING: calling IsSet with unsupported type "ptr" (*hugolib.MenuEntry) will always return false.
This happens whether I use it on my site or with the ExampleSite in your package. I am using the latest Hugo v0.26 on Ubuntu 16.04, and this is the only theme giving me this error.
Also, is there supposed to be social links showing up on the right sidebar? I have the sidebar enabled and many of the social links (like Facebook and Github) having an ID number (and commented out the rest), but I cannot get them to show up upon building the site.
Thanks!
Hi, thanks for appreciating the theme!
I haven't tested the theme with a higher version than v0.20.7 and in that version, I don't have this warning.
I think that the social links have never been implemented from the original Hyde-Y port.
Feel free to make changes and open pull requests.
Hi, I have just tested with v0.27.1 and I also get the warning: WARNING: calling IsSet with unsupported type "ptr" (*hugolib.MenuEntry) will always return false. As long as it is not an error ther should be no problem. Feel fre to submit a fix for this.
Hi, I am also getting this error. I tried with different versions of hugo .37 to .44, with the same result. It works locally but it seems that forestry.io is not building on this error.
@boydkelly @oneleaftea @appernetic i've fixed the warning in #50