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

Fix incorrect use of isset - WIP #608

Merged
merged 1 commit into from
Jun 23, 2021
Merged

Fix incorrect use of isset - WIP #608

merged 1 commit into from
Jun 23, 2021

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
2 participants