Query for indexing posts on landing page

This commit is contained in:
Moris Zen
2018-07-06 13:28:39 +02:00
parent f4f78eae06
commit f33cfac718
2 changed files with 46 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ import '../styles/custom.css'
const Layout = ({ children, data }) => (
<div className="font-sans mx-auto">
<Helmet
title={data.site.siteMetadata.title}
title="Saburly"
meta={[
{ name: 'description', content: 'We code & design great software' },
{
@@ -34,13 +34,3 @@ Layout.propTypes = {
}
export default Layout
export const query = graphql`
query SiteTitleQuery {
site {
siteMetadata {
title
}
}
}
`