10 lines
292 B
JavaScript
10 lines
292 B
JavaScript
import { generateRSS } from 'pliny/utils/generate-rss.js'
|
|
import siteMetadata from '../data/siteMetadata.js'
|
|
import { allBlogs } from '../.contentlayer/generated/index.mjs'
|
|
|
|
const rss = () => {
|
|
generateRSS(siteMetadata, allBlogs)
|
|
console.log('RSS feed generated...')
|
|
}
|
|
export default rss
|