From 5e8f815561b27984cf6a70724ef63cf337e24dff Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sun, 13 May 2018 13:42:18 +0200 Subject: [PATCH] remove search engine block --- src/components/atoms/Head.jsx | 7 +------ src/layouts/index.jsx | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/components/atoms/Head.jsx b/src/components/atoms/Head.jsx index a78bce4..dbf1d31 100644 --- a/src/components/atoms/Head.jsx +++ b/src/components/atoms/Head.jsx @@ -3,7 +3,7 @@ import PropTypes from 'prop-types' import Helmet from 'react-helmet' import SEO from './SEO' -const Head = ({ meta, location }) => { +const Head = ({ meta }) => { const { title, tagline } = meta return ( @@ -13,10 +13,6 @@ const Head = ({ meta, location }) => { titleTemplate={`%s // ${title.toLowerCase()} { ${tagline.toLowerCase()} }`} > - - {location.hostname !== 'matthiaskretschmann.com' && ( - - )} @@ -25,7 +21,6 @@ const Head = ({ meta, location }) => { Head.propTypes = { meta: PropTypes.object.isRequired, - location: PropTypes.object.isRequired, } export default Head diff --git a/src/layouts/index.jsx b/src/layouts/index.jsx index ecbf7cd..6dd6e34 100644 --- a/src/layouts/index.jsx +++ b/src/layouts/index.jsx @@ -27,7 +27,7 @@ const TemplateWrapper = ({ data, location, children }) => { return ( - +