Skip to content

Conversation

narrenfrei
Copy link
Contributor

This PR is my first try to fix #607.

I used if isset in a wrong way. It's a well disused topic in Hugo (eg gohugoio/hugo#3092) and it's better to use only if or with instead of if isset (eg https://discourse.gohugo.io/t/solved-isset-how-to-check-variable-is-empty/1764/5)

@LisaFC I'm planning to make some more improvements to the taxonomy support in the next days. Would you like to wait with the merge for them (then a collect all updates in this PR) or should a make separate PRs?

@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 20, 2021
@LisaFC
Copy link
Collaborator

LisaFC commented Jun 23, 2021

I'm happy to merge this one now, especially as it fixes an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WARNING: calling (isset %!q(<nil>) "taxonomycloud") with unsupported collection type "invalid" (<nil>) will always return false.
2 participants