1import React from 'react'
2import PropTypes from 'prop-types'
3import Helmet from 'react-helmet'
4import { StaticQuery, graphql } from 'gatsby'
6function SEO({ description, lang, meta, keywords, title }) {
11 const metaDescription =
12 description || data.site.siteMetadata.description
19 titleTemplate={`%s | ${data.site.siteMetadata.title}`}
23 content: metaDescription,
30 property: 'og:description',
31 content: metaDescription,
42 name: 'twitter:creator',
43 content: data.site.siteMetadata.author,
46 name: 'twitter:title',
50 name: 'twitter:description',
51 content: metaDescription,
58 content: keywords.join(', '),
77 description: PropTypes.string,
78 lang: PropTypes.string,
79 meta: PropTypes.array,
80 keywords: PropTypes.arrayOf(PropTypes.string),
81 title: PropTypes.string.isRequired,
86const detailsQuery = graphql`
87 query DefaultSEOQuery {
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list