mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 14:59:14 +01:00
Improve RSS channel defaults
This commit is contained in:
parent
ccc8c48085
commit
83ed5150f1
@ -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 }]
|
||||
}))
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user