remove "Home" from index page title

This commit is contained in:
LBlend committed 2021-07-27 19:23:52 +02:00
1 parent 3fd8b79155
commit 64627b6f40
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -36,8 +36,8 @@ function Seo({ description, lang, meta, imageURL, title, author }) {
htmlAttributes={{
lang,
}}
title={title}
titleTemplate={defaultTitle ? `%s | ${defaultTitle}` : null}
title={title ? title : defaultTitle}
titleTemplate={title ? `%s | ${defaultTitle}` : defaultTitle}
meta={[
{
name: `author`,
@@ -114,7 +114,7 @@ Seo.propTypes = {
description: PropTypes.string,
lang: PropTypes.string,
meta: PropTypes.arrayOf(PropTypes.object),
title: PropTypes.string.isRequired,
title: PropTypes.string,
}
export default Seo
+1 -1
View File
@@ -15,7 +15,7 @@ import Footer from "../components/sections/footer"
const IndexPage = () => (
<Layout>
<Seo title="Home" />
<Seo />
<Header />
<About />
<Events />