Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsSet unsupported type #14

Open
aaaaaadrian opened this issue Apr 20, 2018 · 3 comments
Open

IsSet unsupported type #14

aaaaaadrian opened this issue Apr 20, 2018 · 3 comments

Comments

@aaaaaadrian
Copy link

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?

@aadilayub
Copy link

I'm experiencing the same issue

@theAkito
Copy link

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

@Fubukimaru
Copy link

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

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

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

And it should be ok :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants