We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 717793e commit 6b6ada3Copy full SHA for 6b6ada3
1 file changed
plugins/rss-feed.js
@@ -15,12 +15,12 @@ export function rssFeedPlugin() {
15
id: 'https://preactjs.com',
16
link: 'https://preactjs.com',
17
language: 'en',
18
- image: 'https://preactjs.com/assets/branding/symbol.png',
+ image: 'https://preactjs.com/branding/symbol.png',
19
favicon: 'https://preactjs.com/favicon.ico',
20
copyright: 'All rights reserved 2022, the Preact team',
21
feedLinks: {
22
- json: 'https://preactjs.com/json',
23
- atom: 'https://preactjs.com/atom'
+ rss: 'https://preactjs.com/feed.xml',
+ atom: 'https://preactjs.com/feed.atom'
24
}
25
});
26
@@ -39,7 +39,7 @@ export function rssFeedPlugin() {
39
.split('\n')
40
.filter(
41
line =>
42
- line !==
+ line.trim() !==
43
'<generator>https://github.com/jpmonette/feed</generator>'
44
)
45
.join('\n');
0 commit comments