Skip to content

Commit 7b1599a

Browse files
author
Farzad Hayatbakhsh
committed
DOC-2608: Add copyright info to RSS
1 parent 32e5a8d commit 7b1599a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/rssfeed.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ module.exports.register = function ({ config }) {
8383
.join("\n");
8484

8585
// Assemble the complete RSS feed
86-
const rss = `<?xml version="1.0" encoding="UTF-8" ?>
86+
const rss = `<?xml version="1.0" encoding="UTF-8"?>
8787
<rss version="2.0"
8888
xmlns:atom="http://www.w3.org/2005/Atom"
8989
xmlns:content="http://purl.org/rss/1.0/modules/content/"
@@ -93,6 +93,7 @@ module.exports.register = function ({ config }) {
9393
<link>${siteLinkWithVersion}/${pageName}</link>
9494
<description>${pageDescription}</description>
9595
<language>en</language>
96+
<copyright>Creative Commons Legal Code - Attribution-NonCommercial-ShareAlike 3.0 Unported</copyright>
9697
<atom:link href="${siteLink}/rss.xml" rel="self" type="application/rss+xml" />
9798
${rssItems}
9899
</channel>

0 commit comments

Comments
 (0)