Commit fc74f44 1 parent 0380af0 commit fc74f44 Copy full SHA for fc74f44
File tree 1 file changed +30
-1
lines changed
src/content/docs/docs/starlight/astro
1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ tableOfContents:
9
9
minHeadingLevel : 2
10
10
maxHeadingLevel : 2
11
11
rss : true
12
- pubDate : 2024-12-01
12
+ pubDate : 2024-12-30
13
13
---
14
14
15
15
- [ Astro RSS Guide] ( https://docs.astro.build/guides/rss/ )
@@ -243,3 +243,32 @@ pubDate: 2024-12-01
243
243
});
244
244
}
245
245
` ` `
246
+
247
+ ## Enable [RSS Auto- discovery](https: // www.rssboard.org/rss-autodiscovery)
248
+
249
+ - [Astro Docs](https: // docs.astro.build/en/guides/rss/#enabling-rss-feed-auto-discovery)
250
+
251
+ Update the ` defineConfig.integrations.starlight.head` in the project ` astro.config.mjs` file with the following
252
+
253
+ ` ` ` javascript title="astro.config.mjs" {6-16}
254
+ export default defineConfig({
255
+ // ...
256
+ integrations: [
257
+ starlight({
258
+ title: 'Lucero',
259
+ head: [
260
+ {
261
+ tag: 'link',
262
+ attrs: {
263
+ rel: 'alternate',
264
+ type: 'application/rss+xml',
265
+ title: 'Lucero',
266
+ href: 'https://indyandie.github.io/lucero/rss.xml',
267
+ },
268
+ },
269
+ ],
270
+ // ...
271
+ }),
272
+ ],
273
+ })
274
+ ` ` `
You can’t perform that action at this time.
0 commit comments