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

Meta tags not rendered #51

Closed
kib357 opened this issue Sep 20, 2015 · 1 comment
Closed

Meta tags not rendered #51

kib357 opened this issue Sep 20, 2015 · 1 comment

Comments

@kib357
Copy link
Contributor

kib357 commented Sep 20, 2015

Constant TAG_PROPERTIES doesn't contain "CONTENT", and this example:
meta={[
{"name": "description", "content": "Helmet application"},
{"property": "og:type", "content": "article"}
]}
not render anything.

@cwelch5
Copy link
Contributor

cwelch5 commented Sep 21, 2015

That is okay that TAG_PROPERTIES doesn't contain "CONTENT" - those properties identify attributes that become the primary key for that tag, which is relevant when comparing tags to other tags. "CONTENT" is not a primary key because you can have duplicate content between tags, and they won't override each other. But if you have two tags both with PROPERTY of "og:type", then they will override or compose according to the examples.

With regards to that particular example, is it a problem with prerendering on the server? or is it not showing up on the client as well?

@cwelch5 cwelch5 closed this as completed Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants