examples rss: add mdx file ending (#4710)

This follows the same pattern used in https://github.com/withastro/astro/blob/main/examples/blog/src/pages/blog.astro#L8. Without adding `mdx` here, only some blog posts will be part of the rss.xml file.
This commit is contained in:
Tobias 2022-09-22 20:53:07 +02:00 committed by GitHub
parent d2853ebe66
commit 9fb03b2e99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,5 +6,5 @@ export const get = () =>
title: SITE_TITLE,
description: SITE_DESCRIPTION,
site: import.meta.env.SITE,
items: import.meta.glob('./blog/**/*.md'),
items: import.meta.glob('./blog/**/*.{md,mdx}'),
});