fix: use feed.xml instead of index.xml
This commit is contained in:
@ -33,7 +33,7 @@ export async function getStaticProps({ params }) {
|
||||
|
||||
// rss
|
||||
const rss = generateRss(allPosts)
|
||||
fs.writeFileSync('./public/index.xml', rss)
|
||||
fs.writeFileSync('./public/feed.xml', rss)
|
||||
|
||||
return { props: { post, authorDetails, prev, next } }
|
||||
}
|
||||
|
Reference in New Issue
Block a user