1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00

fix SEO url

This commit is contained in:
Matthias Kretschmann 2018-05-07 21:35:32 +02:00
parent 2e591b9069
commit 67d69d12df
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -10,7 +10,7 @@ const SEO = ({ project, meta }) => {
const image = project.img
? project.img.childImageSharp.twitterImage.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 (
<Helmet>