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

Where to put <head> #91

Open
jeffyuans opened this issue Aug 25, 2015 · 2 comments
Open

Where to put <head> #91

jeffyuans opened this issue Aug 25, 2015 · 2 comments

Comments

@jeffyuans
Copy link

Hi there,

To add facebook share button to my website, I need to add some open graph meta tag.
See https://developers.facebook.com/docs/plugins/share-button/
I tried to use react-helmet and it didn't work. (the description didn't show up in the share page.) Can anyone please help? Thanks.

-S

@jeffyuans
Copy link
Author

I tried to put the meta tag in render() function, but it doesn't compile. Any idea where to put these? Thanks.

@jeffyuans jeffyuans changed the title How to add meta tag Where to put <head> Sep 10, 2015
@jeffyuans
Copy link
Author

I guess my question is essentially where to put the tag? I don't see the .html file nor putting it in render() function works. This should be a general question, anyone has any idea?

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

No branches or pull requests

1 participant