File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -74,15 +74,19 @@ module.exports.register = function () {
7474
7575 // Assemble the complete RSS feed
7676 const rss = `<?xml version="1.0" encoding="UTF-8" ?>
77- <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
78- <channel>
77+ <rss version="2.0"
78+ xmlns:atom="http://www.w3.org/2005/Atom"
79+ xmlns:content="http://purl.org/rss/1.0/modules/content/"
80+ >
81+ <channel>
7982 <title>${ productName } ${ productMajorVersion } ${ pageTitle } </title>
8083 <link>${ siteLinkWithVersion } /${ pageName } </link>
8184 <description>${ pageDescription } </description>
85+ <language>en</language>
8286 <atom:link href="${ siteLink } /rss.xml" rel="self" type="application/rss+xml" />
8387 ${ rssItems }
84- </channel>
85- </rss>` ;
88+ </channel>
89+ </rss>`;
8690
8791 // Add RSS feed to site catalog
8892 siteCatalog . addFile ( {
You can’t perform that action at this time.
0 commit comments