diff --git a/gatsby-config.js b/gatsby-config.js index dd1e06d..d504dce 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -1,6 +1,6 @@ module.exports = { siteMetadata: { - url: 'https://lumen.netlify.com/', + url: 'https://lumen.netlify.com', title: 'Blog by John Doe', subtitle: 'Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.', copyright: '© All rights reserved.', @@ -44,9 +44,9 @@ module.exports = { { site { siteMetadata { - url + site_url: url title - subtitle + description: subtitle } } } @@ -58,8 +58,8 @@ module.exports = { Object.assign({}, edge.node.frontmatter, { description: edge.node.frontmatter.description, date: edge.node.frontmatter.date, - url: site.siteMetadata.url + edge.node.fields.slug, - guid: site.siteMetadata.url + edge.node.fields.slug, + url: site.siteMetadata.site_url + edge.node.fields.slug, + guid: site.siteMetadata.site_url + edge.node.fields.slug, custom_elements: [{ 'content:encoded': edge.node.html }] })) ),