hugo-bootstrap-premium icon indicating copy to clipboard operation
hugo-bootstrap-premium copied to clipboard

Error when building site, and also social links?

Open oneleaftea opened this issue 7 years ago • 4 comments

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!

oneleaftea avatar Aug 19 '17 20:08 oneleaftea

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.

appernetic avatar Aug 20 '17 19:08 appernetic

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.

appernetic avatar Sep 21 '17 12:09 appernetic

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 avatar Jul 27 '18 14:07 boydkelly

@boydkelly @oneleaftea @appernetic i've fixed the warning in #50

sofixa avatar Oct 12 '18 07:10 sofixa