summaryrefslogtreecommitdiff
path: root/src/build/index.mjs
diff options
context:
space:
mode:
authorache <ache@ache.one>2023-07-05 07:34:37 +0200
committerache <ache@ache.one>2023-07-05 07:34:37 +0200
commitd8f3be76af854acb58ea6ef9521dd90424117461 (patch)
tree0d9a6dec0d610a35f153b9361280dd821f4e4034 /src/build/index.mjs
parentFix table of contents (diff)
i18n for RSS
Diffstat (limited to 'src/build/index.mjs')
-rw-r--r--src/build/index.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build/index.mjs b/src/build/index.mjs
index 852eb8d..ad126a8 100644
--- a/src/build/index.mjs
+++ b/src/build/index.mjs
@@ -88,7 +88,7 @@ for (const lang in i18n) {
}
console.log(`Create RSS Flux: ${lang}/rss.xml`);
- const xmlFeed = getRSS(articles, baseUrl);
+ const xmlFeed = getRSS(articles, baseUrl, lang);
fs.writeFileSync(`${lang}/rss.xml`, xmlFeed);
{