From 9fb03b2e99b8bf22fc617365beb1110350b4d42d Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 22 Sep 2022 20:53:07 +0200 Subject: [PATCH] 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. --- examples/blog/src/pages/rss.xml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/blog/src/pages/rss.xml.js b/examples/blog/src/pages/rss.xml.js index d9113c11b..4e6ed73c4 100644 --- a/examples/blog/src/pages/rss.xml.js +++ b/examples/blog/src/pages/rss.xml.js @@ -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}'), });