--- export async function getStaticPaths({paginate, rss}) { console.log(Astro); const allPosts = await Astro.glob('./*.md') const posts = allPosts.map(item => (Object.assign({}, item.frontmatter, {url: item.url}))).sort((a, b) => new Date(b.date) - new Date(a.date)); rss({ title: "Ruthenic's Blog", description: "My blog, utilized for talking about random things.", items: posts.map(item => ({ title: item.title, description: item.description, link: item.url, pubDate: item.date }) ).filter(item => (item.wip ? false : item) ), dest: "/blog/feed.xml" }) return paginate(posts) } ---