summaryrefslogtreecommitdiff
path: root/examples/blog
diff options
context:
space:
mode:
authorGravatar Tobias <t@tobiasjordans.de> 2022-09-22 20:53:07 +0200
committerGravatar GitHub <noreply@github.com> 2022-09-22 14:53:07 -0400
commit9fb03b2e99b8bf22fc617365beb1110350b4d42d (patch)
tree1b79cbbf906e95829b2fac3e9bb6aacba354ed95 /examples/blog
parentd2853ebe6688a6f1a7ca0381453c2bf24f60617e (diff)
downloadastro-9fb03b2e99b8bf22fc617365beb1110350b4d42d.tar.gz
astro-9fb03b2e99b8bf22fc617365beb1110350b4d42d.tar.zst
astro-9fb03b2e99b8bf22fc617365beb1110350b4d42d.zip
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.
Diffstat (limited to 'examples/blog')
-rw-r--r--examples/blog/src/pages/rss.xml.js2
1 files changed, 1 insertions, 1 deletions
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}'),
});