diff --git a/src/components/molecules/Header.js b/src/components/molecules/Header.js index 14c75a4..0a94c54 100644 --- a/src/components/molecules/Header.js +++ b/src/components/molecules/Header.js @@ -4,7 +4,8 @@ import PropTypes from 'prop-types' import Social from './Social' import './Header.scss' -const Header = ({ meta, minimal }) => { +const Header = ({ meta }) => { + const minimal = location.pathname === '/' ? false : true const classes = minimal ? 'header header--minimal' : 'header' return (