daily-email: fix RSS feed

This commit is contained in:
Oliver Davies 2023-04-17 23:23:35 +01:00
parent ea674d4aff
commit 62ffd9b603

View file

@ -1,8 +1,8 @@
import MarkdownIt from 'markdown-it';
import _ from 'lodash';
import rss from '@astrojs/rss';
import sanitizeHtml from 'sanitize-html';
import { getCollection } from 'astro:content';
import * as _ from 'lodash';
export async function get() {
const emails = await getCollection('daily-email');