diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index 35ec8b2..1da111c 100644 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -1,71 +1,22 @@ import React, { Fragment } from 'react' import PropTypes from 'prop-types' -import { StaticQuery, graphql } from 'gatsby' import Head from './molecules/Head' import Header from './organisms/Header' import Footer from './organisms/Footer' import styles from './Layout.module.scss' const Layout = ({ children, location }) => { + const isHomepage = location.pathname === '/' + return ( - { - const meta = data.dataYaml - const isHomepage = location.pathname === '/' + + +
- return ( - - -
+
{children}
-
{children}
- -