8000 Guard against arrays in subhashes by benbalter · Pull Request #197 · jekyll/jekyll-seo-tag · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@benbalter
Copy link
Collaborator

If site.social or page.seo are arrays, strings, or anything other than a Hash, things will 💥 . This PR creates a helper method to safely traverse subhashes, even when they are not actually hashes.

Fixes #196.

Copy link
Member
@DirtyF DirtyF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works fine

@benbalter benbalter merged commit a0c915f into master Apr 26, 2017
@benbalter benbalter deleted the guard-against-arrays branch April 26, 2017 15:58
@axilleas
Copy link

Thank you! ❤️

@jekyll jekyll locked and limited conversation to collaborators Apr 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Builds failing with "Liquid Exception: no implicit conversion of String into Integer"

5 participants

0