Skip to content

Commit

Permalink
Improve SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
dantehemerson committed Jul 8, 2019
1 parent 04729ef commit 8a7b603
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/SEO.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ export default class SEO extends PureComponent {
}

static defaultProps = {
title: 'Dante Calderón',
image: `https://dantecalderon.com${avatar}`,
url: 'https://dantecalderon.com/',
description: 'Dante Hemerson Calderón Vasquez - Programador',
title: 'Dante Calderon',
image: `https://dantecalderon.dev${avatar}`,
url: 'https://dantecalderon.dev/',
description: 'Dante Calderon - Backend Nodejs Developer',
isPost: false
}

render() {
const { image, url, description, isPost } = this.props
const title = (this.props.title === '' ? '' : `${this.props.title} · `) + 'Dante Calderón'
const title = (this.props.title === '' ? '' : `${this.props.title} · `) + 'Dante Calderon'
const schemaOrgJSONLD = [
{
'@context': 'http://schema.org',
Expand Down Expand Up @@ -80,7 +80,7 @@ export default class SEO extends PureComponent {
],
url: url,
name: title,
alternateName: `${url} | Dante Calderón`,
alternateName: `${url} | Dante Calderon`,
headline: title,
image: {
'@type': 'ImageObject',
Expand Down

0 comments on commit 8a7b603

Please sign in to comment.