hugo-code-editor-theme icon indicating copy to clipboard operation
hugo-code-editor-theme copied to clipboard

IsSet unsupported type

Open aaaaaadrian opened this issue 7 years ago • 3 comments

Hello!

I have been looking everywhere for an answer, and it seems like every variant of this issue is specific to the theme in question. I have no idea what I need to fix when I get the following error:

WARNING: calling IsSet with unsupported type "ptr" (*hugolib.PageOutput) will always return false.

Any help on what to edit?

aaaaaadrian avatar Apr 20 '18 11:04 aaaaaadrian

I'm experiencing the same issue

aadilayub avatar Aug 06 '18 12:08 aadilayub

It's just a warning, not an error, per sé.

theAkito avatar Mar 26 '19 00:03 theAkito

I'm a bit late to the discussion but just in case someone is in the same point. Check this: https://github.com/LiaungYip/plain-blog/issues/2

In hugo-code-editor-theme/layouts/partials/head.html:

{{ if isset . "Description" }} to {{ if .Description }}.

And it should be ok :).

Fubukimaru avatar Jul 05 '22 19:07 Fubukimaru