refactor: update RSS feed generation

This commit is contained in:
radishzzz 2025-01-18 03:18:19 +00:00
parent 8c19d26cfd
commit 8a3e01fb96
4 changed files with 59 additions and 64 deletions

View file

@ -36,16 +36,12 @@ const { locale }: { locale: ThemeConfig['global']['locale'] } = themeConfig.glob
export default defineConfig({
site: url,
base: '/',
trailingSlash: 'always',
i18n: {
locales: Object.entries(langMap).map(([path, codes]) => ({
path,
codes,
})),
defaultLocale: locale,
routing: {
prefixDefaultLocale: false,
},
},
integrations: [
partytown({