Refactor SEO component
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import React, { Component } from 'react'
|
||||
import Helmet from 'react-helmet'
|
||||
import Prism from 'prismjs'
|
||||
import SEO from '../components/SEO'
|
||||
|
||||
require('prismjs/themes/prism-tomorrow.css')
|
||||
|
||||
@@ -19,16 +20,8 @@ class PostDefault extends Component {
|
||||
const { data } = this.props
|
||||
return (
|
||||
<PageTransition>
|
||||
<SEO siteTitle={data.wordpressPost.title} siteDescription="We are always on a lookout for exciting challenges. Feel free to contact us if you want to start something great or just have any questions" siteImage={data.wordpressPost.featured_media.source_url} siteUrl={`https://www.saburly.com/blog/${data.wordpressPost.slug}`} />
|
||||
<Helmet
|
||||
title={`${data.wordpressPost.title} - Saburly.com`}
|
||||
meta={[
|
||||
{ name: 'description', content: 'We code & design great software' },
|
||||
{
|
||||
name: 'keywords',
|
||||
content:
|
||||
'software, design, coding, programming, code, consulting',
|
||||
},
|
||||
]}
|
||||
link={[
|
||||
{ rel: 'shortcut icon', type: 'image/png', href: `${favicon32}` },
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user