Astro blog starter

This commit is contained in:
Cassidy Williams
2022-08-22 22:31:53 -05:00
commit 8e0ada2db2
31 changed files with 11141 additions and 0 deletions

10
src/pages/rss.xml.js Normal file
View File

@@ -0,0 +1,10 @@
import rss from '@astrojs/rss';
import { SITE_TITLE, SITE_DESCRIPTION } from '../config';
export const get = () =>
rss({
title: SITE_TITLE,
description: SITE_DESCRIPTION,
site: import.meta.env.SITE,
items: import.meta.glob('./blog/**/*.md'),
});