mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-01-03 18:35:00 +01:00
fix SEO url
This commit is contained in:
parent
2e591b9069
commit
67d69d12df
@ -10,7 +10,7 @@ const SEO = ({ project, meta }) => {
|
|||||||
const image = project.img
|
const image = project.img
|
||||||
? project.img.childImageSharp.twitterImage.src
|
? project.img.childImageSharp.twitterImage.src
|
||||||
: meta.img.childImageSharp.resize.src
|
: meta.img.childImageSharp.resize.src
|
||||||
const url = project.slug ? `${meta.url}/${project.slug}` : meta.url
|
const url = project.slug ? `${meta.url}${project.slug}` : meta.url
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Helmet>
|
<Helmet>
|
||||||
|
Loading…
Reference in New Issue
Block a user