Skip to content

Commit

Permalink
Merge pull request #54 from reed-jones/master
Browse files Browse the repository at this point in the history
Improve RSS channel defaults
  • Loading branch information
alxshelepenok authored Feb 12, 2018
2 parents ccc8c48 + 83ed515 commit ac35b81
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -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.',
Expand Down Expand Up @@ -44,9 +44,9 @@ module.exports = {
{
site {
siteMetadata {
url
site_url: url
title
subtitle
description: subtitle
}
}
}
Expand All @@ -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 }]
}))
),
Expand Down

0 comments on commit ac35b81

Please sign in to comment.