1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-06-30 21:51:50 +02:00

fix default meta title

This commit is contained in:
Matthias Kretschmann 2018-12-09 15:22:51 +01:00
parent f81542ba37
commit 97947bc614
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -76,7 +76,7 @@ export default class SEO extends PureComponent {
render={data => {
const { project } = this.props
const meta = data.dataYaml
const title = (project && project.title) || meta.title
const title = (project && project.title) || null
const description =
(project && project.fields.excerpt) || meta.description
const image =