Commit 7bf81140 authored by Yashu Mittal's avatar Yashu Mittal 👍🏻

Create rss configuration

parent acf6275c
Pipeline #49506222 passed with stage
......@@ -35,6 +35,25 @@ module.exports = {
typeName: 'Author',
route: '/author/:id'
}
},
{
use: 'gridsome-plugin-rss',
options: {
contentTypeName: 'Post',
feedOptions: {
title: 'Gridsome Casper',
feed_url: 'https://gridsome-starter-casper.netlify.com/feed.xml',
site_url: 'https://gridsome-starter-casper.netlify.com'
},
feedItemOptions: node => ({
title: node.title,
url: 'https://gridsome-starter-casper.netlify.com' + node.path,
author: node.author
}),
output: {
name: 'feed.xml'
}
}
}
]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment