diff options
Diffstat (limited to 'examples/blog/src/pages/rss.xml.js')
-rw-r--r-- | examples/blog/src/pages/rss.xml.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/examples/blog/src/pages/rss.xml.js b/examples/blog/src/pages/rss.xml.js index 9fd153480..d9113c11b 100644 --- a/examples/blog/src/pages/rss.xml.js +++ b/examples/blog/src/pages/rss.xml.js @@ -1,9 +1,10 @@ import rss from '@astrojs/rss'; -import {SITE_TITLE, SITE_DESCRIPTION} from '../config'; +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'), - });
\ No newline at end of file +export const get = () => + rss({ + title: SITE_TITLE, + description: SITE_DESCRIPTION, + site: import.meta.env.SITE, + items: import.meta.glob('./blog/**/*.md'), + }); |