mirror of
https://github.com/UiO-Gaming/uiogaming.no.git
synced 2026-11-05 13:56:47 +01:00
remove "Home" from index page title
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -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
@@ -15,7 +15,7 @@ import Footer from "../components/sections/footer"
|
||||
|
||||
const IndexPage = () => (
|
||||
<Layout>
|
||||
<Seo title="Home" />
|
||||
<Seo />
|
||||
<Header />
|
||||
<About />
|
||||
<Events />
|
||||
|
||||
Reference in new issue
Block a user