From 83ed5150f10d02389023202dcf4740c3b6743346 Mon Sep 17 00:00:00 2001 From: Reed Jones Date: Sun, 11 Feb 2018 16:14:51 -0700 Subject: [PATCH] Improve RSS channel defaults --- gatsby-config.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 }] })) ),