Closed thejmazz closed 8 years ago
See here and this.
One relevant file is /static/src/components/Page.js which only works for some metas. That is,
/static/src/components/Page.js
const metas = { viewport: 'width=device-width, initial-scale=1', description: 'UofT BioHacks 2016 Website', author: 'iGEM Toronto' }
will map into
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="description" content="UofT BioHacks 2016 Website" /> <meta name="author" content="iGEM Toronto" />
Which brings us to the second file: static/src/components/Html.js. Here, you can just add in <meta>s manually. And you'll need to do this for the FB og ones.
static/src/components/Html.js
<meta>
og
We can test how it works on FB in our group first.
@SerayCicek give this a look if you have something to update how the facebook preview of the link to our site looks
See here and this.
One relevant file is
/static/src/components/Page.js
which only works for some metas. That is,will map into
Which brings us to the second file:
static/src/components/Html.js
. Here, you can just add in<meta>
s manually. And you'll need to do this for the FBog
ones.We can test how it works on FB in our group first.