Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Meta properties allows functions #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vfportero
Copy link

@@ -182,7 +182,7 @@ run = (defaults = {}) ->

twitter = _.extend({}, defaults.twitter, seo.twitter)
og = _.extend({}, defaults.og, seo.og)
meta = _.extend({}, defaults.meta, seo.meta)
meta = _.extend({}, call(seo.meta or defaults.meta))
Copy link
Contributor

Choose a reason for hiding this comment

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

Will this behave in the same way as meta = _.extend({}, defaults.meta, seo.meta)? Looks like seo.meta will override everything from defaults.meta if it's present – not extending it?

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

Successfully merging this pull request may close these issues.

2 participants