Gatsby: [v2] Document how to create a "SEO" component using <StaticQuery>

Created on 10 Apr 2018  Â·  4Comments  Â·  Source: gatsbyjs/gatsby

This is a common problem people run into — it's much more straightforward in v2 with <StaticQuery> so let's improve the docs for this.

documentation

Most helpful comment

FYI, this is built. I just have to write up the docs.

https://github.com/jlengstorf/marisamorby.com/blob/master/src/components/SEO/SEO.js

All 4 comments

FYI, this is built. I just have to write up the docs.

https://github.com/jlengstorf/marisamorby.com/blob/master/src/components/SEO/SEO.js

Hey @jlengstorf do you want me to expand on the documentation you have for this already if I can get it workingnfor my own purposes first?

I could go through setting it up with the Gatsby blog starter I guess

@spences10 Yes! That would be amazing — I definitely have not had time to write it up. 😅

See #9075 for the implementation of this. Can close when it's merged!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

signalwerk picture signalwerk  Â·  3Comments

theduke picture theduke  Â·  3Comments

totsteps picture totsteps  Â·  3Comments

ferMartz picture ferMartz  Â·  3Comments

brandonmp picture brandonmp  Â·  3Comments