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

Meta properties allows functions - #18

Open
vfportero wants to merge 1 commit into
lookback:masterfrom
vfportero:master
Open

Meta properties allows functions#18
vfportero wants to merge 1 commit into
lookback:masterfrom
vfportero:master

Conversation

@vfportero

Copy link
Copy Markdown

Comment thread lib/router.coffee
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
Copy Markdown
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