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: "width=device-width, initial-scale=1.0",
27 content: metaDescription,
34 property: 'og:description',
35 content: metaDescription,
46 name: 'twitter:creator',
47 content: data.site.siteMetadata.author,
50 name: 'twitter:title',
54 name: 'twitter:description',
55 content: metaDescription,
62 content: keywords.join(', '),
81 description: PropTypes.string,
82 lang: PropTypes.string,
83 meta: PropTypes.array,
84 keywords: PropTypes.arrayOf(PropTypes.string),
85 title: PropTypes.string.isRequired,
90const detailsQuery = graphql`
91 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