Skip to content

Commit c36dfa5

Browse files
authored
[i18nIgnore] fix rss feed (tauri-apps#2099)
1 parent 0d34474 commit c36dfa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/feed.xml.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This RSS includes all pages in root locale
1+
// This RSS includes all pages in root locale, excluding releases
22
import config from 'virtual:starlight/user-config';
33
import { getNewestCommitDate } from 'node_modules/@astrojs/starlight/utils/git';
44
import { getCollection } from 'astro:content';
@@ -8,7 +8,7 @@ import rss from '@astrojs/rss';
88

99
// Ternary is just so typescript won't complain
1010
const exclude = config.isMultilingual
11-
? Object.keys(config.locales).concat('references', 'rss')
11+
? Object.keys(config.locales).concat('references', 'rss', 'releases')
1212
: [];
1313

1414
// https://docs.astro.build/en/reference/api-reference/#endpoint-context

0 commit comments

Comments
 (0)